//
// AccountReviewPopup::updateSelectedLabel from 0xc401c4 to 0xc4035c (408 bytes)
//
// 8 xrefs:
// > AccountReviewPopup::updateTabControls @ 0xc4040c
// > AccountReviewPopup::clearPageContent @ 0xc437c0
// > AccountReviewPopup::onSelectAll @ 0xc4f47c
// > AccountReviewPopup::onToggleRow @ 0xc4f5b0
// > AccountReviewPopup::FLAlert_Clicked @ 0xc4f80c
// > AccountReviewPopup::FLAlert_Clicked @ 0xc4f8cc
// > AccountReviewPopup::FLAlert_Clicked @ 0xc4f984
// > ??> @ 0x9fb20
//
// 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:56 +0000
//
__int64 __fastcall AccountReviewPopup::updateSelectedLabel(AccountReviewPopup *this)
{
__int64 v2; // x21
const char *v3; // x1
_BOOL4 v4; // w21
void (__fastcall *v6)(__int64, __int64); // x22
cocos2d::CCString *v7; // x0
__int64 CString; // x0
void (__fastcall *v9)(__int64, _BYTE *); // x23
__int64 v10; // x22
float v11; // s8
float v12; // s8
float v13; // s0
float v14; // [xsp+40h] [xbp+40h]
__int64 v15; // [xsp+58h] [xbp+58h] BYREF
_BYTE v16[8]; // [xsp+60h] [xbp+60h] BYREF
v2 = *((_QWORD *)this + 182);
if ( v2 )
{
v3 = *((const char **)this + 170);
if ( !v3 || *((_DWORD *)this + 309) == 2 )
{
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 928LL))(v2, &byte_11B8890);
}
else
{
v6 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"(%i)", v3);
CString = cocos2d::CCString::getCString(v7);
v6(v2, CString);
}
if ( *((_QWORD *)this + 180) )
{
v4 = (int)AccountReviewPopup::selectedDeletable(this) > 0;
(*(void (__fastcall **)(_QWORD, _BOOL4))(**((_QWORD **)this + 180) + 344LL))(*((_QWORD *)this + 180), v4);
if ( v4 )
{
v9 = *(void (__fastcall **)(__int64, _BYTE *))(**((_QWORD **)this + 180) + 184LL);
v14 = COERCE_FLOAT(COERCE_UNSIGNED_INT128(((long double (__fastcall *)(_QWORD))*(_QWORD *)(**((_QWORD **)this + 182)
+ 224LL))(*((_QWORD *)this + 182))));
(*(void (__fastcall **)(__int64 *__return_ptr, _QWORD))(**((_QWORD **)this + 182) + 336LL))(
&v15,
*((_QWORD *)this + 182));
v10 = *((_QWORD *)this + 180);
v11 = (float)(v14 + *(float *)&v15) + 8.0;
v12 = v11 + (float)(*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 328LL))(v10) * 0.5);
v13 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 179) + 240LL))(*((_QWORD *)this + 179));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v12, v13);
v9(v10, v16);
}
}
}
return _stack_chk_guard;
}