// // sub_100138070 from 0x100138070 to 0x1001381ab (315 bytes) // // 1 xrefs: // > sub_1001381B0 @ 0x10013829a // // 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_100138070(float *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5) { __int64 result; // rax float v9; // [rsp+Ch] [rbp-34h] BYREF float v10; // [rsp+10h] [rbp-30h] float v11; // [rsp+14h] [rbp-2Ch] if ( a2 ) { v11 = *a1; result = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)a2 + 1344LL))(&v9); if ( v9 > v11 ) { result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a2 + 1344LL))(&v9, a2); *a1 = v9; } } if ( a3 ) { v11 = a1[1]; result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a3 + 1344LL))(&v9, a3); if ( v10 > v11 ) { result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a3 + 1344LL))(&v9, a3); a1[1] = v10; } } if ( a4 ) { v11 = *a1; result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a4 + 1344LL))(&v9, a4); if ( v11 > v9 ) { result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a4 + 1344LL))(&v9, a4); *a1 = v9; } } if ( a5 ) { v11 = a1[1]; result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a5 + 1344LL))(&v9, a5); if ( v11 > v10 ) { result = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a5 + 1344LL))(&v9, a5); a1[1] = v10; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source