//
// sub_10024BB7C from 0x10024bb7c to 0x10024bc60 (228 bytes)
//
// 1 xrefs:
// > FRequestProfilePage::init @ 0x10024b30c
//
// 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 11:01:29 +0000
//
void __fastcall sub_10024BB7C(__int64 a1)
{
__int64 v2; // x0
unsigned __int64 v3; // x9
void **v4; // x8
__int64 v5; // x10
__int64 v6; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
unsigned __int8 v8; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 864);
if ( v2 )
CCTextInputNode::getString(v2, __p);
else
sub_100009900(__p, "");
v3 = v8;
v4 = __p;
if ( (v8 & 0x80u) != 0 )
{
v4 = (void **)__p[0];
v3 = (unsigned __int64)__p[1];
}
if ( v3 )
{
v5 = 0;
while ( *((_BYTE *)v4 + v5) == 32 )
{
if ( v3 == ++v5 )
goto LABEL_14;
}
if ( v5 != -1 )
{
v6 = GameLevelManager::sharedState();
if ( (sub_1000C9054(v6, (__int64)__p) & 1) != 0 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1368) = a1 + 696;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 776) + 344LL))(*(_QWORD *)(a1 + 776), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 1);
}
}
}
LABEL_14:
if ( (char)v8 < 0 )
operator delete(__p[0]);
}