// // std::__ndk1::__sort5 std::__ndk1::__insertion_sort_incomplete std::__ndk1::__sort std::__ndk1::__sort @ 0x47758 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:58:37 +0000 // __int64 __fastcall std::__sort5( __int64 *a1, __int64 *a2, __int64 *a3, __int64 *a4, __int64 *a5, unsigned __int8 (__fastcall **a6)(__int64 *, __int64 *)) { unsigned int v12; // w23 __int64 v13; // x3 unsigned __int8 (__fastcall *v14)(__int64 *, __int64 *); // x2 __int64 v16; // x2 __int64 v17; // x3 unsigned __int8 (__fastcall *v18)(__int64 *, __int64 *); // x2 __int64 v19; // x2 __int64 v20; // x3 unsigned __int8 (__fastcall *v21)(__int64 *, __int64 *); // x2 __int64 v22; // x2 __int64 v23; // x3 unsigned __int8 (__fastcall *v24)(__int64 *, __int64 *); // x2 __int64 v25; // x0 __int64 v26; // [xsp+68h] [xbp+68h] BYREF __int64 v27; // [xsp+70h] [xbp+70h] BYREF v12 = std::__sort4(a1, a2, a3, a4, a6); v13 = *a4; v14 = *a6; v26 = *a5; v27 = v13; if ( v14(&v26, &v27) ) { v16 = *a4; *a4 = *a5; *a5 = v16; v17 = *a3; v18 = *a6; v26 = *a4; v27 = v17; if ( v18(&v26, &v27) ) { v19 = *a3; *a3 = *a4; *a4 = v19; v20 = *a2; v21 = *a6; v26 = *a3; v27 = v20; if ( v21(&v26, &v27) ) { v22 = *a2; *a2 = *a3; *a3 = v22; v23 = *a1; v24 = *a6; v26 = *a2; v27 = v23; if ( v24(&v26, &v27) ) { v12 += 4; v25 = *a1; *a1 = *a2; *a2 = v25; } else { v12 += 3; } } else { v12 += 2; } } else { ++v12; } } return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source