// // sub_1001A9F00 from 0x1001a9f00 to 0x1001a9fb0 (176 bytes) // // 1 xrefs: // > GameSettingsLayer::addToggle @ 0x1001661c8 // // 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:00:05 +0000 // __int64 __fastcall sub_1001A9F00(_QWORD *a1, signed int a2, int a3) { __int64 result; // x0 __int64 v6; // x8 _QWORD *i; // x21 __int64 v8; // x0 int v9; // [xsp+Ch] [xbp-24h] BYREF if ( a2 < 0 ) return 0; result = 0; if ( (a3 & 0x80000000) == 0 ) { v6 = a1[130]; if ( (int)(-1431655765 * ((unsigned __int64)(a1[131] - v6) >> 3)) > a2 ) { for ( i = (_QWORD *)(v6 + 24LL * (unsigned int)a2); (int)((i[1] - *i) >> 2) <= a3; sub_10000D038((__int64)i, &v9) ) { v8 = sub_1002E757C(a1[114]); v9 = v8; SetupTriggerPopup::getPageContainer(a1, v8); } return *(unsigned int *)(*i + 4LL * (unsigned int)a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source