// // std::__ndk1::__sort4 std::__ndk1::__sort5 std::__ndk1::__insertion_sort_incomplete std::__ndk1::__sort @ 0xed070 // // 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::__sort4( __int64 *a1, __int64 *a2, __int64 *a3, __int64 *a4, unsigned __int8 (__fastcall **a5)(__int64 *, __int64 *)) { unsigned int v10; // w23 __int64 v11; // x3 unsigned __int8 (__fastcall *v12)(__int64 *, __int64 *); // x2 __int64 v14; // x2 __int64 v15; // x3 unsigned __int8 (__fastcall *v16)(__int64 *, __int64 *); // x2 __int64 v17; // x2 __int64 v18; // x3 unsigned __int8 (__fastcall *v19)(__int64 *, __int64 *); // x2 __int64 v20; // x0 __int64 v21; // [xsp+68h] [xbp+68h] BYREF __int64 v22; // [xsp+70h] [xbp+70h] BYREF v10 = std::__sort3(a1, a2, a3, a5); v11 = *a3; v12 = *a5; v21 = *a4; v22 = v11; if ( v12(&v21, &v22) ) { v14 = *a3; *a3 = *a4; *a4 = v14; v15 = *a2; v16 = *a5; v21 = *a3; v22 = v15; if ( v16(&v21, &v22) ) { v17 = *a2; *a2 = *a3; *a3 = v17; v18 = *a1; v19 = *a5; v21 = *a2; v22 = v18; if ( v19(&v21, &v22) ) { v10 += 3; v20 = *a1; *a1 = *a2; *a2 = v20; } else { v10 += 2; } } else { ++v10; } } return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source