Six agents took over ANM2/AnimationState/LayerState, ItemConfig, EntityConfig, StringTable/Font/FormattedText/RichText, OptionsConfig/ChallengeParams and ModManager/ModEntry functions (FormattedText::parse checked against a transliteration of its assembly on 200,000 random inputs). 174 field rows and 32 names from the round are merged into db/. source_tree.py: a struct or class src/*.h defines is no longer emitted in classes.h (class takeover) and gets no stubs; data labels get stub definitions. build/isaac links (64-bit ELF) and stops at the first function not reconstructed: IsaacMain. Boot path 64/615 functions curated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
630 B
C++
26 lines
630 B
C++
#include "classes.h"
|
|
|
|
// 0040c440
|
|
void TexturePtr::release()
|
|
{
|
|
char cVar1;
|
|
int in_ECX;
|
|
void *local_10;
|
|
uint8_t *puStack_c;
|
|
uint32_t uStack_8;
|
|
|
|
uStack_8 = 0xffffffff;
|
|
puStack_c = &LAB_00af0d10;
|
|
local_10 = ExceptionList;
|
|
ExceptionList = &local_10;
|
|
if (*GHIDRA_CAST<int **>((in_ECX + 4)) != GHIDRA_CAST<int *>(0x0)) {
|
|
cVar1 = (**(code **)(**GHIDRA_CAST<int **>((in_ECX + 4)) + 0xc))
|
|
(__security_cookie ^ GHIDRA_INT(register0x00000010) - 4U);
|
|
if ((cVar1 != '\0') && (g_imageReleaseFn != (void *)0x0)) {
|
|
(*g_imageReleaseFn)();
|
|
}
|
|
}
|
|
ExceptionList = local_10;
|
|
return;
|
|
}
|