// // sub_4C1BC from 0x4c1bc to 0x4c236 (122 bytes) // // 1 xrefs: // > @ 0x4c1ba // // 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_4C1BC(int a1, float a2, float a3, int a4) { int v4; // r4 float v6; // s0 float v7; // s2 v4 = *(_DWORD *)(a1 + 332); if ( !v4 || !*(_DWORD *)(a1 + 16) ) return 30; if ( (*(_BYTE *)(v4 + 28) & 0x10) == 0 ) return 40; v6 = a3; v7 = a2; if ( a3 > 1.0 ) v6 = 1.0; if ( v6 < 0.0 ) v6 = 0.0; if ( a2 > 1.0 ) v7 = 1.0; if ( v7 < 0.0 ) v7 = 0.0; *(float *)(a1 + 140) = v7; *(float *)(a1 + 144) = v6; if ( a4 ) { *(float *)(a1 + 148) = v7; *(float *)(a1 + 152) = v6; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source