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

GD Web Decomp

Raw Source