//
// AccountReviewPopup::selectedDeletable from 0x734760 to 0x7347d8 (120 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::updateSelectedLabel @ 0x73481c
// > AccountReviewPopup::confirmDeleteSelected @ 0x734b46
// > AccountReviewPopup::onDeleteMenu @ 0x735080
//
// 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:58:23 +0000
//
int __fastcall AccountReviewPopup::selectedDeletable(AccountReviewPopup *this)
{
int result; // r0
_DWORD *v3; // r7
int v4; // r4
signed int v5; // r6
int v6; // r0
_BOOL4 v7; // r0
int v8; // r0
result = *((_DWORD *)this + 231);
if ( result )
{
if ( *((_DWORD *)this + 218) == 2 )
{
return 0;
}
else
{
v3 = *((_DWORD **)this + 235);
v4 = 0;
while ( v3 != (_DWORD *)((char *)this + 944) )
{
v5 = v3[4];
if ( v5 >= 0 && v5 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 231)) )
{
if ( *((_DWORD *)this + 218) == 1 )
{
v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), v5);
v7 = sub_731F12(v6);
}
else
{
v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), v5);
v7 = sub_7320AA(v8);
}
if ( v7 )
++v4;
}
v3 = std::__tree_next *>(v3);
}
return v4;
}
}
return result;
}