// // std::__ndk1::__sort3 std::__ndk1::__sort4 std::__ndk1::__insertion_sort_incomplete std::__ndk1::__insertion_sort_incomplete std::__ndk1::__sort std::__ndk1::__sort std::__ndk1::__sort @ 0x102010 // // 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::__sort3( __int64 *a1, __int64 *a2, __int64 *a3, unsigned __int8 (__fastcall **a4)(__int64 *, __int64 *)) { __int64 v7; // x5 unsigned __int8 (__fastcall *v9)(__int64 *, __int64 *); // x2 __int64 v10; // x3 unsigned __int8 (__fastcall *v11)(__int64 *, __int64 *); // x2 int v12; // w1 __int64 result; // x0 __int64 v14; // x3 unsigned __int8 (__fastcall *v15)(__int64 *, __int64 *); // x2 __int64 v16; // x1 __int64 v17; // x2 __int64 v18; // x3 unsigned __int8 (__fastcall *v19)(__int64 *, __int64 *); // x2 __int64 v20; // x1 __int64 v21; // x2 unsigned __int8 (__fastcall *v22)(__int64 *, __int64 *); // x2 __int64 v23; // x1 __int64 v24; // [xsp+58h] [xbp+58h] BYREF __int64 v25; // [xsp+60h] [xbp+60h] BYREF v7 = *a2; v9 = *a4; v25 = *a1; v24 = v7; if ( v9(&v24, &v25) ) { v14 = *a2; v15 = *a4; v24 = *a3; v25 = v14; if ( v15(&v24, &v25) ) { v16 = *a1; *a1 = *a3; *a3 = v16; return 1; } v21 = *a1; *a1 = *a2; *a2 = v21; v25 = v21; v22 = *a4; v24 = *a3; if ( v22(&v24, &v25) ) { v23 = *a2; *a2 = *a3; *a3 = v23; return 2; } return 1; } v10 = *a2; v11 = *a4; v24 = *a3; v25 = v10; v12 = v11(&v24, &v25); result = 0; if ( v12 ) { v17 = *a2; *a2 = *a3; *a3 = v17; v18 = *a1; v19 = *a4; v24 = *a2; v25 = v18; if ( v19(&v24, &v25) ) { v20 = *a1; *a1 = *a2; *a2 = v20; return 2; } return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source