// // sub_B496C from 0xb496c to 0xb4a0c (160 bytes) // // 2 xrefs: // > sub_B4F94 @ 0xb5154 // > sub_B4F94 @ 0xb51c4 // // 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_B496C(__int64 a1, float *a2, float a3, float a4) { float v5; // s9 float v8; // s0 unsigned int v9; // w0 float v11; // [xsp+Ch] [xbp-24h] BYREF v5 = a4 + 0.691; v11 = a3; v8 = powf(10.0, (float)(a4 + 0.691) * 0.1); if ( v5 <= -80.0 ) v8 = 0.0; if ( v8 <= a3 ) { *a2 = *a2 + a3; v9 = sub_B4A0C(a1, &v11); sub_B4A10(a1, v9, &v11); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source