// // sub_1800CE8F0 from 0x1800ce8f0 to 0x1800ce960 (112 bytes) // // 1 xrefs: // > @ 0x18016caa0 // // 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_1800CE8F0(__int64 a1, float a2, float a3, char a4) { __int64 v4; // rax float v6; // xmm0_4 float v7; // xmm1_4 float v8; // xmm2_4 v4 = *(_QWORD *)(a1 + 472); if ( !v4 || !*(_QWORD *)(a1 + 32) ) return 30; if ( (*(_BYTE *)(v4 + 56) & 0x10) == 0 ) return 40; v6 = 0.0; v7 = fminf(a2, 1.0); if ( v7 < 0.0 ) v7 = 0.0; v8 = fminf(a3, 1.0); *(float *)(a1 + 192) = v7; if ( v8 >= 0.0 ) v6 = v8; *(float *)(a1 + 196) = v6; if ( a4 ) { *(float *)(a1 + 200) = v7; *(float *)(a1 + 204) = v6; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source