Curation round 1: 66 boot-path functions rewritten in src/; the game links into a Linux executable
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>
This commit is contained in:
1 parent
8c31c98a81
commit
837aa06518
63 files changed
+10557
-12054
No files matched your search
@@ -474,6 +474,49 @@ LAB_00a18850:
|
||||
return;
|
||||
}
|
||||
|
||||
// 00a19450
|
||||
void KAGE_Graphics::set_window_size(int *param_1)
|
||||
{
|
||||
int iVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
int in_ECX;
|
||||
|
||||
if ((*GHIDRA_CAST<int *>((in_ECX + 0xc0)) != *param_1) || (*GHIDRA_CAST<int *>((in_ECX + 0xc4)) != param_1[1])) {
|
||||
*GHIDRA_CAST<int *>((in_ECX + 0xc0)) = *param_1;
|
||||
*GHIDRA_CAST<int *>((in_ECX + 0xc4)) = param_1[1];
|
||||
if ((*GHIDRA_CAST<uint32_t *>((in_ECX + 4)) & 0x100) == 0) {
|
||||
iVar1 = *GHIDRA_CAST<int *>((in_ECX + 0xbc));
|
||||
if (iVar1 != 0) {
|
||||
iVar2 = *param_1;
|
||||
iVar3 = param_1[1];
|
||||
if (iVar2 < 0) {
|
||||
_wassert(L"width >= 0",
|
||||
L"C:\\nicalis\\builderbob\\projects\\KAGE\\Source\\Platforms\\PC\\Shared\\Source\\External\\gl\\GLFW_3.4\\src\\window.c"
|
||||
,0x26f);
|
||||
}
|
||||
if (iVar3 < 0) {
|
||||
_wassert(L"height >= 0",
|
||||
L"C:\\nicalis\\builderbob\\projects\\KAGE\\Source\\Platforms\\PC\\Shared\\Source\\External\\gl\\GLFW_3.4\\src\\window.c"
|
||||
,0x270);
|
||||
}
|
||||
if (_glfw == 0) {
|
||||
_glfwInputError(0x10001,0);
|
||||
return;
|
||||
}
|
||||
*GHIDRA_CAST<int *>((iVar1 + 0x28)) = iVar2;
|
||||
*GHIDRA_CAST<int *>((iVar1 + 0x2c)) = iVar3;
|
||||
(*DAT_00c73724)(iVar1,iVar2,iVar3);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
KAGE_LogMessage(4,GHIDRA_CAST<uint8_t *>("Setting size of window while in fullscreen, is this intended?\n"));
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// 00a196b0
|
||||
void KAGE_Graphics::set_fullscreen(uint8_t isFullscreen, uint8_t isExclusive)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user