// // std::__ndk1::__sort5 std::__ndk1::__insertion_sort_incomplete std::__ndk1::__sort std::__ndk1::__sort @ 0x918d0 // // 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::__sort5( _QWORD *a1, _QWORD *a2, _QWORD *a3, _QWORD *a4, _QWORD *a5, unsigned __int8 (__fastcall **a6)(_QWORD)) { unsigned int v12; // w22 __int64 v14; // x0 __int64 v15; // x0 __int64 v16; // x0 __int64 v17; // x0 v12 = std::__sort4(a1, a2, a3, a4, a6); if ( !((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))*a6)(*a5, *a4) ) return v12; v14 = *a4; *a4 = *a5; *a5 = v14; if ( ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))*a6)(*a4, *a3) ) { v15 = *a3; *a3 = *a4; *a4 = v15; if ( ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))*a6)(*a3, *a2) ) { v16 = *a2; *a2 = *a3; *a3 = v16; if ( ((unsigned __int8 (__fastcall *)(_QWORD, _QWORD))*a6)(*a2, *a1) ) { v12 += 4; v17 = *a1; *a1 = *a2; *a2 = v17; } else { v12 += 3; } } else { v12 += 2; } return v12; } return v12 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source