// // sub_713B8 from 0x713b8 to 0x7145e (166 bytes) // // 1 xrefs: // > sub_70F88 @ 0x70f88 // // 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_713B8(int *a1, int a2, unsigned int a3, _DWORD *a4) { unsigned int v8; // r0 int v9; // r1 unsigned int v10; // r5 int v11; // r1 int result; // r0 int v13; // [sp+4h] [bp-1Ch] BYREF if ( !a1[56] ) return 31; sub_71348(1u, &v13, a1[1]); while ( a3 ) { v8 = a1[74]; if ( !v8 ) { a1[73] = 0; sub_C6E34(a1, a1[56]); v8 = a1[74]; if ( !v8 ) break; } v9 = a1[73]; v10 = a3; if ( v9 + a3 >= v8 ) { a1[74] = 0; v10 = v8 - v9; } qmemcpy((void *)(a2 + v13 * *a4), (const void *)(a1[70] + v13 * v9), v13 * v10); a3 -= v10; a1[73] += v10; *a4 += v10; } v11 = sub_C6D0A(a1[56]); result = 0; if ( v11 == 4 ) { *a4 = 0; return 16; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source