// // sub_D05C8 from 0xd05c8 to 0xd064e (134 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_D05C8(int a1, float *a2, int a3, int a4) { int v7; // r9 float *v8; // r11 int i; // r4 int v10; // r0 float *v11; // r1 float *v12; // r2 float v13; // s0 int v15; // [sp+0h] [bp-20h] BYREF if ( *(__int16 *)(a1 + 78) >= 1 ) { v7 = a4 / *(unsigned __int8 *)(a1 + 80); v8 = (float *)((char *)&v15 - ((4 * *(unsigned __int8 *)(a1 + 80) + 7) & 0xFFFFFFF8)); for ( i = 0; i < v7; ++i ) { if ( sub_D064E(a1, a3, v8) ) return -1; v10 = *(unsigned __int8 *)(a1 + 80); v11 = a2; v12 = v8; while ( v10 ) { v13 = *v12++; --v10; *v11 = *v11 + v13; v11 += v7; } ++a2; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source