// // sub_100531E80 from 0x100531e80 to 0x100531f3c (188 bytes) // // 1 xrefs: // > sub_10053053C @ 0x100530854 // // This function is hookable on this platform (idp: arm, 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 11:07:21 +0000 // __int64 __fastcall sub_100531E80(__int64 a1, __int64 a2) { __int64 result; // x0 __int64 v5; // x8 const void **v6; // x22 __int64 v7; // x21 result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (result & 0x80000000) == 0 ) { v5 = *(_QWORD *)(a1 + 848); if ( (int)result < (int)((unsigned __int64)(*(_QWORD *)(a1 + 856) - v5) >> 7) ) { v6 = (const void **)(v5 + ((unsigned __int64)(unsigned int)result << 7)); v7 = sub_1000D9098(a1 + 944, v6); if ( v7 ) sub_1000D94D0(a1 + 944); else sub_1000D8F30((__int64 **)(a1 + 944), (__int64)v6, (__int64)v6); CCMenuItemToggler::toggle(a2, v7 == 0); result = *(_QWORD *)(a1 + 992); if ( result ) return sub_10037E57C(result, *(_DWORD *)(a1 + 960)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source