// // sub_5BBE0 from 0x5bbe0 to 0x5bc38 (88 bytes) // // 1 xrefs: // > @ 0x10c7b8 // // 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_5BBE0(__int64 a1, char a2, float a3, float a4) { __int64 v4; // x8 unsigned int v5; // w8 float v7; // s2 float v8; // s1 float v9; // s0 v4 = *(_QWORD *)(a1 + 472); if ( v4 && *(_QWORD *)(a1 + 32) ) { if ( (*(_BYTE *)(v4 + 56) & 0x10) != 0 ) { v7 = fminf(a4, 1.0); v8 = fmaxf(fminf(a3, 1.0), 0.0); v9 = fmaxf(v7, 0.0); v5 = 0; *(float *)(a1 + 192) = v8; *(float *)(a1 + 196) = v9; if ( (a2 & 1) != 0 ) { *(float *)(a1 + 200) = v8; *(float *)(a1 + 204) = v9; } } else { return 40; } } else { return 30; } return v5; }