// // sub_1004A0080 from 0x1004a0080 to 0x1004a0110 (144 bytes) // // 1 xrefs: // > @ 0x100852340 // // 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 // __int64 __fastcall sub_1004A0080(__int64 *a1, void *a2, __int64 a3, unsigned int a4, int a5, double a6) { __int64 v6; // x9 unsigned int v8; // w10 unsigned int v9; // w8 unsigned int i; // w11 v6 = *a1; if ( *(_DWORD *)(*a1 + 2076) ) { *(float *)&a6 = (float)*(int *)(v6 + 2072); sub_100429A04(v6 + 536, a2, a3, a5, a4, a6, *(float *)(v6 + 2132)); } else if ( a5 >= 1 ) { v8 = 0; v9 = a5 * a4; do { for ( i = v8; i < v9; i += a5 ) *(float *)(a3 + 4LL * i) = *((float *)a2 + i) * *(float *)(v6 + 2132); ++v8; } while ( v8 != a5 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source