--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>
30 lines
1.1 KiB
C++
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;
|
|
}
|