// // GJItemIcon::toggleEnabledState from 0x100357a80 to 0x100357b25 (165 bytes) // // 0 xrefs: // // 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:28:52 +0000 // void __fastcall GJItemIcon::toggleEnabledState(__int64 a1, char a2) { __int64 v2; // rbx __int64 v3; // rax __int64 v4; // rbx unsigned int v5; // r14d __int64 v6; // rax _WORD v7[14]; // [rsp-1Ch] [rbp-1Ch] BYREF if ( !*(_BYTE *)(a1 + 620) ) { v2 = *(_QWORD *)(a1 + 600); if ( a2 ) { LOBYTE(v7[1]) = -1; v7[0] = -1; } else { memset(v7, 100, 3); } (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v2 + 960LL))(v2, v7); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 488LL))(v2); if ( v3 ) { v4 = v3; if ( (unsigned int)sub_1007FEF90(v3) ) { v5 = 0; do { v6 = sub_1007FEFE0(v4, v5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 344LL))(v6, 1); ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(v4) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source