// // std::__ndk1::__sort4 from 0x795694 to 0x79574c (184 bytes) // // 3 xrefs: // > std::__ndk1::__sort5 @ 0x795776 // > std::__ndk1::__insertion_sort_incomplete @ 0x7958c4 // > std::__ndk1::__sort @ 0x795a0c // // 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::__sort4(int *a1, int *a2, int *a3, int *a4) { int v8; // r5 _DWORD v10[7]; // [sp+0h] [bp-20h] BYREF v8 = std::__sort3(a1, a2, a3); if ( *a4 < *a3 ) { DropdownListRow::DropdownListRow(v10, a3); DropdownListRow::operator=((int)a3, a4); DropdownListRow::operator=((int)a4, v10); DropdownListRow::~DropdownListRow((DropdownListRow *)v10); if ( *a3 < *a2 ) { DropdownListRow::DropdownListRow(v10, a2); DropdownListRow::operator=((int)a2, a3); DropdownListRow::operator=((int)a3, v10); DropdownListRow::~DropdownListRow((DropdownListRow *)v10); if ( *a2 < *a1 ) { DropdownListRow::DropdownListRow(v10, a1); v8 += 3; DropdownListRow::operator=((int)a1, a2); DropdownListRow::operator=((int)a2, v10); DropdownListRow::~DropdownListRow((DropdownListRow *)v10); } else { v8 += 2; } } else { ++v8; } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source