//
// AccountReviewPopup::onSelectAll from 0xc4f3dc to 0xc4f490 (180 bytes)
//
// 3 xrefs:
// > ??> @ 0xa28b0
// > AccountReviewPopup::init @ 0xc45528
// > ??> @ 0x1544880
//
// 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:05:07 +0000
//
AccountReviewPopup *__fastcall AccountReviewPopup::onSelectAll(AccountReviewPopup *this, cocos2d::CCObject *a2)
{
__int64 v2; // x5
__int64 v3; // x4
__int64 v4; // x1
__int64 v5; // x2
AccountReviewPopup *v7; // x20
__int64 v8; // x0
int v9; // w19
unsigned __int8 v10; // w21
int v11; // w1
v2 = *((_QWORD *)this + 165);
v3 = (*((_QWORD *)this + 166) - v2) >> 3;
if ( v3 )
{
v4 = 0;
v5 = 0;
do
{
if ( *(_QWORD *)(v2 + 8 * v4++) )
++v5;
}
while ( v4 != v3 );
if ( v5 )
{
v7 = this;
v8 = *((_QWORD *)this + 170);
if ( (int)v4 > 0 )
{
v9 = 0;
v10 = v5 != v8;
do
{
v11 = v9++;
AccountReviewPopup::applySelected((__int64)v7, v11, v10);
}
while ( v9 < (int)((__int64)(*((_QWORD *)v7 + 166) - *((_QWORD *)v7 + 165)) >> 3) );
}
return (AccountReviewPopup *)AccountReviewPopup::updateSelectedLabel(v7);
}
}
return this;
}