//
// FRequestProfilePage::exitGlobalMode from 0x5f1064 to 0x5f1096 (50 bytes)
//
// 4 xrefs:
// > FRequestProfilePage::onUpdate @ 0x5f109c
// > FRequestProfilePage::onClearSearch @ 0x5f2e0c
// > FRequestProfilePage::onSelectMode @ 0x5f2ea2
// > FRequestProfilePage::textChanged @ 0x5f2f7e
//
// 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:27 +0000
//
int __fastcall FRequestProfilePage::exitGlobalMode(int this)
{
int v1; // r4
cocos2d::CCObject *v2; // r0
v1 = this;
if ( *(_BYTE *)(this + 628) )
{
*(_BYTE *)(this + 628) = 0;
v2 = *(cocos2d::CCObject **)(this + 624);
if ( v2 )
{
cocos2d::CCObject::release(v2);
*(_DWORD *)(v1 + 624) = 0;
}
return (*(int (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v1 + 576) + 172))(*(_DWORD *)(v1 + 576), 0);
}
return this;
}