// // sub_1001A9EA4 from 0x1001a9ea4 to 0x1001a9f00 (92 bytes) // // 1 xrefs: // > GameSettingsLayer::buildTabContent @ 0x100164d8c // // 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_1001A9EA4(__int64 result, int a2) { signed int v2; // w8 __int64 v3; // x9 __int64 v4; // x8 _DWORD *v5; // x8 int v6; // w9 int v7; // t1 int v8; // w10 v2 = *(_DWORD *)(result + 1068); if ( (v2 & 0x80000000) == 0 && a2 >= 1 ) { v3 = *(_QWORD *)(result + 1016); if ( v2 < (int)(954437177 * ((unsigned __int64)(*(_QWORD *)(result + 1024) - v3) >> 3)) ) { v4 = v3 + 72LL * (unsigned int)v2; v7 = *(_DWORD *)(v4 + 60); v5 = (_DWORD *)(v4 + 60); v6 = v7; v8 = v7 % a2; if ( v7 % a2 ) *v5 = v6 + a2 - v8; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source