// // sub_100457B04 from 0x100457b04 to 0x100457b78 (116 bytes) // // 1 xrefs: // > @ 0x1008277c8 // // 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_100457B04(__int64 a1, __n128 a2) { float v2; // s1 __int64 v3; // x8 v2 = (float)((float)(1.0 - *(float *)(*(_QWORD *)(a1 + 24) + 240LL)) + (float)(*(float *)(*(_QWORD *)(a1 + 24) + 124LL) * *(float *)(*(_QWORD *)(a1 + 24) + 240LL))) * a2.n128_f32[0]; a2.n128_u32[0] = *(_DWORD *)(a1 + 100); if ( v2 <= a2.n128_f32[0] ) { a2.n128_f32[0] = v2; if ( v2 < *(float *)(a1 + 104) ) a2.n128_u32[0] = *(_DWORD *)(a1 + 104); } v3 = *(_QWORD *)(a1 + 736); if ( v3 ) return (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v3 + 56LL))(v3, a2); v3 = *(_QWORD *)(a1 + 728); if ( v3 ) return (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v3 + 56LL))(v3, a2); if ( *(_QWORD *)(a1 + 656) ) return sub_1004A07A4(a1 + 112, a2); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source