// // 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 @ 0xd8df0 // // 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 13:01:11 +0000 // __int64 __fastcall std::__sort3( _QWORD *a1, _QWORD *a2, _QWORD *a3, unsigned __int8 (__fastcall **a4)(_QWORD)) { char v8; // w0 unsigned __int8 (__fastcall *v9)(_QWORD); // x2 int v10; // w1 __int64 result; // x0 __int64 v12; // x1 __int64 v13; // x0 __int64 v14; // x1 __int64 v15; // x1 __int64 v16; // x1 v8 = ((__int64 (__fastcall *)(_QWORD, _QWORD))*a4)(*a2, *a1); v9 = *a4; if ( v8 ) { if ( ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))v9)(*a3, *a2) ) { v12 = *a1; *a1 = *a3; *a3 = v12; return 1; } v15 = *a1; *a1 = *a2; *a2 = v15; if ( (*a4)(*a3) ) { v16 = *a2; *a2 = *a3; *a3 = v16; return 2; } return 1; } v10 = ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))v9)(*a3, *a2); result = 0; if ( v10 ) { v13 = *a2; *a2 = *a3; *a3 = v13; if ( ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))*a4)(*a2, *a1) ) { v14 = *a1; *a1 = *a2; *a2 = v14; return 2; } return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source