//
// FRequestProfilePage::exitGlobalMode from 0xa4c478 to 0xa4c4c8 (80 bytes)
//
// 5 xrefs:
// > FRequestProfilePage::onUpdate @ 0xa4c4dc
// > FRequestProfilePage::onClearSearch @ 0xa4ef50
// > FRequestProfilePage::onSelectMode @ 0xa4f038
// > FRequestProfilePage::textChanged @ 0xa4f174
// > ??> @ 0xaf6d8
//
// 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:00:03 +0000
//
__int64 __fastcall FRequestProfilePage::exitGlobalMode(__int64 this)
{
__int64 v1; // x19
cocos2d::CCObject *v2; // x0
if ( *(_BYTE *)(this + 880) )
{
v1 = this;
v2 = *(cocos2d::CCObject **)(this + 872);
*(_BYTE *)(v1 + 880) = 0;
if ( v2 )
{
cocos2d::CCObject::release(v2);
*(_QWORD *)(v1 + 872) = 0;
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 776) + 344LL))(*(_QWORD *)(v1 + 776), 0);
}
return this;
}