// // sub_1004939BC from 0x1004939bc to 0x100493a28 (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_1004939BC(__int64 a1, int a2, float a3) { float *v3; // x8 float v4; // s0 float v5; // s0 if ( a2 == 2 ) { v3 = (float *)(a1 + 556); } else if ( a2 == 1 ) { v3 = (float *)(a1 + 552); } else { if ( a2 ) goto LABEL_8; v3 = (float *)(a1 + 548); } *v3 = a3; LABEL_8: v4 = *(float *)(a1 + 548); if ( v4 == 0.0 ) v5 = 1.0; else v5 = 1.0 / (float)((float)(v4 * (float)*(int *)(a1 + 544)) / 1000.0); *(float *)(a1 + 560) = v5; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source