// // sub_1004A1180 from 0x1004a1180 to 0x1004a11ec (108 bytes) // // 1 xrefs: // > sub_10049E474 @ 0x10049fe2c // // 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_1004A1180(__int64 a1, __int64 a2) { int v3; // w0 int v4; // w8 int v5; // w8 int v6; // w8 if ( *(int *)(a1 + 1176) >= 1000 ) *(_DWORD *)(a1 + 1176) = 0; v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = *(_DWORD *)(a1 + 1176); if ( v3 == 1 ) v5 = v4 - 1; else v5 = v4 + 1; v6 = v5 & ~(v5 >> 31); if ( v6 >= 999 ) v6 = 999; *(_DWORD *)(a1 + 1176) = v6; sub_1004A2828(a1); return sub_1004A130C(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source