//
// ProfilePage::onAdminPanel from 0x5f729c to 0x5f7316 (122 bytes)
//
// 0 xrefs:
//
// 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:54:32 +0000
//
GameManager *__fastcall ProfilePage::onAdminPanel(GameManager *this, cocos2d::CCObject *a2)
{
GameManager *v2; // r6
int v3; // r2
int v4; // r7
int v5; // r0
int v6[3]; // [sp+0h] [bp-14h] BYREF
v2 = this;
v3 = *((_DWORD *)this + 138);
if ( v3 && *(int *)(v3 + 296) > 0 )
{
this = (GameManager *)GameManager::sharedState(this);
if ( *((_DWORD *)this + 205) - *((_DWORD *)this + 206) == 2 )
{
v4 = *(_DWORD *)(*((_DWORD *)v2 + 138) + 296);
std::string::basic_string(v6, *((_DWORD *)v2 + 138) + 264);
v5 = AccountReviewPopup::create(v4, v6, *((_DWORD *)v2 + 138));
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
return (GameManager *)std::string::~string((int)v6);
}
}
return this;
}