//
// AdminActionConfirmPopup::selectedCategories from 0xc3dd78 to 0xc3de6c (244 bytes)
//
// 2 xrefs:
// > AdminActionConfirmPopup::onConfirm @ 0xc3dee4
// > ??> @ 0x7f0a8
//
// 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:04:55 +0000
//
_QWORD *__usercall AdminActionConfirmPopup::selectedCategories@(
AdminActionConfirmPopup *this@,
_QWORD *a2@)
{
unsigned __int64 v4; // x19
__int64 v5; // x1
__int64 v6; // x2
_DWORD *v7; // x0
__int64 v8; // x2
*a2 = 0;
a2[1] = 0;
v4 = 0;
a2[2] = 0;
v5 = *((_QWORD *)this + 136);
v6 = *((_QWORD *)this + 137);
if ( (v6 - v5) >> 3 )
{
do
{
if ( *(_BYTE *)(*(_QWORD *)(v5 + 8 * v4) + 392LL) )
{
v7 = (_DWORD *)a2[1];
v8 = *((_QWORD *)this + 133);
if ( v7 == (_DWORD *)a2[2] )
{
std::vector::__push_back_slow_path((__int64)a2, (_DWORD *)(v8 + 4 * v4));
v5 = *((_QWORD *)this + 136);
v6 = *((_QWORD *)this + 137);
}
else
{
if ( v7 )
{
*v7 = *(_DWORD *)(v8 + 4 * v4);
v7 = (_DWORD *)a2[1];
}
a2[1] = v7 + 1;
v5 = *((_QWORD *)this + 136);
v6 = *((_QWORD *)this + 137);
}
}
++v4;
}
while ( v4 < (v6 - v5) >> 3 );
}
return a2;
}