// // sub_100997F60 from 0x100997f60 to 0x100998094 (308 bytes) // // 2 xrefs: // > sub_1009948B0 @ 0x1009958ed // > sub_100995D40 @ 0x100995d6c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:39:12 +0000 // void __fastcall sub_100997F60(__int64 a1, int a2, double a3, double a4, double a5, double a6) { __int64 v8; // rdi bool v9; // zf const char *v10; // r15 const char *v11; // rsi const char *v12; // rsi unsigned int v13; // eax __int64 v14; // rax bool v15; // r14 unsigned __int8 v16; // r14 double v17; // xmm0_8 *(_DWORD *)(a1 + 1236) = a2; v8 = *(_QWORD *)(a1 + 1384); v9 = a2 == 0; v10 = "GJ_button_04.png"; v11 = "GJ_button_04.png"; if ( v9 ) v11 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v8, (__int64)v11); v12 = "GJ_button_04.png"; if ( a2 == 1 ) v12 = "GJ_button_01.png"; ButtonSprite::updateBGImage(*(_QWORD *)(a1 + 1392), (__int64)v12); if ( a2 == 2 ) v10 = "GJ_button_01.png"; ButtonSprite::updateBGImage(*(_QWORD *)(a1 + 1400), (__int64)v10); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1448) + 344LL))( *(_QWORD *)(a1 + 1448), *(_DWORD *)(a1 + 1236) == 0); if ( *(_BYTE *)(a1 + 1232) == 1 ) { v13 = *(unsigned __int8 *)(a1 + 976); if ( (v13 & 1) != 0 ) v14 = *(_QWORD *)(a1 + 984); else v14 = v13 >> 1; v15 = v14 != 0; } else { v15 = 0; } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1424) + 344LL))( *(_QWORD *)(a1 + 1424), v15 & (unsigned __int8)(*(_DWORD *)(a1 + 1236) == 1)); if ( *(_DWORD *)(a1 + 1236) == 1 ) v16 = *(_BYTE *)(a1 + 1232) & !v15; else v16 = 0; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1464) + 344LL))(*(_QWORD *)(a1 + 1464), v16); v17 = (*(double (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1432) + 344LL))( *(_QWORD *)(a1 + 1432), *(_DWORD *)(a1 + 1236) != 2); sub_10099B9A0(a1, v17, a4, a5, a6); sub_10095CDD0(a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source