// // sub_710BD4 from 0x710bd4 to 0x710c94 (192 bytes) // // 1 xrefs: // > sub_7248C8 @ 0x7248d0 // // 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_710BD4(int result, int a2, int a3) { unsigned int v5; // r2 int *v6; // r5 int i; // r6 float v8; // s15 unsigned int v9; // r2 bool v10; // cf int v11; // r3 float v12; // s15 *(_QWORD *)a3 = 0; v5 = 0; *(_DWORD *)(a3 + 8) = 0; *(_DWORD *)(a3 + 20) = -1; *(_DWORD *)(a3 + 12) = 0; *(_DWORD *)(a3 + 16) = 0; if ( a2 <= 0 ) goto LABEL_11; v6 = (int *)result; for ( i = 0; i != a2; ++i ) { result = *v6 + v5; if ( *v6 ) { v11 = *(_DWORD *)(a3 + 12); *(_DWORD *)(a3 + 8) = result; *(_DWORD *)(a3 + 20) = i; *(_DWORD *)(a3 + 12) = v11 + 1; result = *v6; if ( (unsigned int)*v6 <= 0xFF ) { v8 = flt_A03198[*v6]; } else { result = off_AD50C0(result); v8 = *(float *)&result; } v9 = *(_DWORD *)(a3 + 16); *(double *)a3 = *(double *)a3 - v8; v10 = v9 >= *v6; v5 = *(_DWORD *)(a3 + 8); if ( !v10 ) *(_DWORD *)(a3 + 16) = *v6; } ++v6; } if ( v5 > 0xFF ) { result = off_AD50C0(v5); v12 = *(float *)&result; } else { LABEL_11: v12 = flt_A03198[v5]; } *(double *)a3 = *(double *)a3 + v12; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source