// // std::__ndk1::__sort5 from 0x795750 to 0x795842 (242 bytes) // // 3 xrefs: // > std::__ndk1::__insertion_sort_incomplete @ 0x7958dc // > std::__ndk1::__sort @ 0x795a26 // > std::__ndk1::__sort @ 0x795ac0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:59:45 +0000 // int __fastcall std::__sort5(int *a1, int *a2, int *a3, int *a4, int *a5) { int v9; // r5 _DWORD v11[7]; // [sp+8h] [bp-24h] BYREF v9 = std::__sort4(a1, a2, a3, a4); if ( *a5 < *a4 ) { DropdownListRow::DropdownListRow(v11, a4); DropdownListRow::operator=((int)a4, a5); DropdownListRow::operator=((int)a5, v11); DropdownListRow::~DropdownListRow((DropdownListRow *)v11); if ( *a4 < *a3 ) { DropdownListRow::DropdownListRow(v11, a3); DropdownListRow::operator=((int)a3, a4); DropdownListRow::operator=((int)a4, v11); DropdownListRow::~DropdownListRow((DropdownListRow *)v11); if ( *a3 < *a2 ) { DropdownListRow::DropdownListRow(v11, a2); DropdownListRow::operator=((int)a2, a3); DropdownListRow::operator=((int)a3, v11); DropdownListRow::~DropdownListRow((DropdownListRow *)v11); if ( *a2 < *a1 ) { DropdownListRow::DropdownListRow(v11, a1); v9 += 4; DropdownListRow::operator=((int)a1, a2); DropdownListRow::operator=((int)a2, v11); DropdownListRow::~DropdownListRow((DropdownListRow *)v11); } else { v9 += 3; } } else { v9 += 2; } } else { ++v9; } } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source