// // sub_10016B030 from 0x10016b030 to 0x10016b1c7 (407 bytes) // // 4 xrefs: // > sub_10016A500 @ 0x10016acfd // > sub_10016A500 @ 0x10016adc8 // > sub_10016B570 @ 0x10016b66a // > sub_10016B570 @ 0x10016b78e // // 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_10016B030( __int64 *a1, __int64 *a2, __int64 *a3, __int64 *a4, __int64 (__fastcall **a5)(__int64 *, _QWORD *)) { __int64 (__fastcall *v8)(__int64 *, _QWORD *); // rax char v9; // al __int64 (__fastcall *v10)(__int64 *, _QWORD *); // rcx char v11; // al __int64 v12; // rcx __int64 v13; // rax __int64 (__fastcall *v14)(__int64 *, _QWORD *); // rax __int64 v15; // rax __int64 (__fastcall *v16)(__int64 *, _QWORD *); // rax __int64 v17; // rax __int64 (__fastcall *v18)(__int64 *, _QWORD *); // rax __int64 result; // rax __int64 v20; // rax __int64 (__fastcall *v21)(__int64 *, _QWORD *); // rax __int64 v22; // rax __int64 (__fastcall *v23)(__int64 *, _QWORD *); // rax __int64 v24; // [rsp+8h] [rbp-38h] BYREF _QWORD v25[6]; // [rsp+10h] [rbp-30h] BYREF v8 = *a5; v24 = *a2; v25[0] = *a1; v9 = v8(&v24, v25); v10 = *a5; if ( v9 ) { v24 = *a3; v25[0] = *a2; v11 = v10(&v24, v25); v12 = *a1; if ( v11 ) { *a1 = *a3; *a3 = v12; } else { *a1 = *a2; *a2 = v12; v16 = *a5; v24 = *a3; v25[0] = v12; if ( (unsigned __int8)v16(&v24, v25) ) { v17 = *a2; *a2 = *a3; *a3 = v17; } } } else { v24 = *a3; v25[0] = *a2; if ( (unsigned __int8)v10(&v24, v25) ) { v13 = *a2; *a2 = *a3; *a3 = v13; v14 = *a5; v24 = *a2; v25[0] = *a1; if ( (unsigned __int8)v14(&v24, v25) ) { v15 = *a1; *a1 = *a2; *a2 = v15; } } } v18 = *a5; v24 = *a4; v25[0] = *a3; result = v18(&v24, v25); if ( (_BYTE)result ) { v20 = *a3; *a3 = *a4; *a4 = v20; v21 = *a5; v24 = *a3; v25[0] = *a2; result = v21(&v24, v25); if ( (_BYTE)result ) { v22 = *a2; *a2 = *a3; *a3 = v22; v23 = *a5; v24 = *a2; v25[0] = *a1; result = v23(&v24, v25); if ( (_BYTE)result ) { result = *a1; *a1 = *a2; *a2 = result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source