// // sub_675958 from 0x675958 to 0x675982 (42 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_675958(int result, int a2) { int v2; // r4 int v3; // r6 int *v4; // r5 int i; // r1 int v6; // r3 v2 = a2; v3 = result; v4 = *(int **)(result + 24); if ( a2 > 0 ) { for ( i = v4[1]; i < v2; i = v4[1] ) { v2 -= i; result = ((int (__fastcall *)(int))v4[3])(v3); } v6 = *v4; v4[1] = i - v2; *v4 = v2 + v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source