// // sub_1003158D8 from 0x1003158d8 to 0x100315958 (128 bytes) // // 2 xrefs: // > sub_100314E5C @ 0x10031560c // > sub_1003157D8 @ 0x100315894 // // 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:03:15 +0000 // __int64 __fastcall sub_1003158D8(__int64 a1) { __int64 v2; // x21 void *v3; // x20 v2 = *(unsigned __int8 *)(*(_QWORD *)(a1 + 680) + 616LL); if ( (v2 & 1) != 0 ) { v3 = &unk_10076BC22; } else { CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 688), 0); v3 = &unk_10076BC1F; } (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 688) + 1056LL))(*(_QWORD *)(a1 + 688), v2); sub_100224488(*(_QWORD *)(a1 + 688), (__int64)v3); return (*(__int64 (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 696) + 1072LL))(*(_QWORD *)(a1 + 696), v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source