Files
isaac-port/generated-src/render_target.cpp
T
shweetandClaude Opus 5.5 9d4d4f5c64 Build 29: zero-length placeholder structs, generated-src with standard types
--check: 938/3256 method bodies compile for x86_64 (28.8%), 32-bit layout asserts hold; boot path 3/626 curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:41:34 -05:00

30 lines
1.1 KiB
C++

#include "classes.h"
// 00a18230
void RenderTarget::Clear()
{
int extraout_ECX;
int extraout_ECX_00;
int unusedArg;
if (*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(this) + 0x68)) == 0) {
(*(code *)epoxy_glClear)(0x4100);
unusedArg = extraout_ECX_00;
}
else {
(*(code *)epoxy_glClearColor)(0,0,0,0);
(*(code *)epoxy_glClear)(0x4100);
(*(code *)epoxy_glClearColor)
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 8)),*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0xc)),
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x10)),*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x14)));
unusedArg = extraout_ECX;
}
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x20)) = 0;
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x24)) = 1;
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x28)) = 0;
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x2c)) = 1;
*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(this) + 0x30)) = 0;
shader_cache_find(unusedArg);
return;
}