// // sub_1004A1018 from 0x1004a1018 to 0x1004a108c (116 bytes) // // 1 xrefs: // > sub_10049E474 @ 0x10049f994 // // 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:06:02 +0000 // __int64 __fastcall sub_1004A1018(__int64 a1, __int64 a2) { int v3; // w9 int v4; // w8 if ( *(int *)(a1 + 1168) >= 1000 ) *(_DWORD *)(a1 + 1168) = 0; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) v3 = 1; else v3 = -1; v4 = (*(_DWORD *)(a1 + 1168) + v3) & ~((*(_DWORD *)(a1 + 1168) + v3) >> 31); if ( v4 >= 999 ) v4 = 999; *(_DWORD *)(a1 + 1168) = v4; sub_1004A2460(a1); sub_1001AD6E0(a1); return sub_1004A108C(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source