// // sub_1004494E0 from 0x1004494e0 to 0x10044954c (108 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 // __int64 __fastcall sub_1004494E0(__int64 a1, int a2, int a3) { int v3; // w8 float v5; // s1 float v6; // s0 if ( a2 != 10 ) return 31; v3 = a3 != 0; if ( *(unsigned __int8 *)(a1 + 649) == v3 ) return 0; *(_BYTE *)(a1 + 649) = v3; if ( a3 ) { v5 = *(float *)(a1 + 560); v6 = *(float *)(a1 + 564); if ( v5 >= v6 ) v5 = *(float *)(a1 + 564); } else { v5 = *(float *)(a1 + 552); v6 = *(float *)(a1 + 556); } *(float *)(a1 + 672) = v5; *(float *)(a1 + 676) = v6; ++*(_DWORD *)(a1 + 636); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source