// // sub_100371574 from 0x100371574 to 0x100371640 (204 bytes) // // 2 xrefs: // > sub_10037113C @ 0x1003712ec // > sub_10037113C @ 0x1003713b0 // // 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:23 +0000 // __int64 __fastcall sub_100371574(__int64 a1, __int64 a2) { int v4; // w0 __int64 result; // x0 __int64 v6; // x8 unsigned int v7; // w20 if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == *(_DWORD *)(a1 + 1032) ) v4 = 0; else v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 1032) = v4; CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1016), v4 == 1); result = CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1024), *(_DWORD *)(a1 + 1032) == 2); v6 = *(_QWORD *)(a1 + 680); if ( v6 ) { *(_DWORD *)(v6 + 1840) = *(_DWORD *)(a1 + 1032); } else { result = sub_1002E757C(*(_QWORD *)(a1 + 688)); if ( (_DWORD)result ) { v7 = 0; do { *(_DWORD *)(sub_1002E75A0(*(_QWORD *)(a1 + 688), v7++) + 1840) = *(_DWORD *)(a1 + 1032); result = sub_1002E757C(*(_QWORD *)(a1 + 688)); } while ( v7 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source