//
// sub_10011CF7C from 0x10011cf7c to 0x10011d028 (172 bytes)
//
// 1 xrefs:
// > SetupSpawnPopup::init @ 0x10011cb90
//
// 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 10:59:13 +0000
//
__int64 __fastcall sub_10011CF7C(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x20
__int64 v3; // x21
__int64 v4; // x0
if ( (*(_BYTE *)(result + 1012) & 1) == 0 )
{
v1 = result;
if ( *(_DWORD *)(result + 1048) || *(_DWORD *)(result + 1052) )
{
if ( *(_QWORD *)(result + 680) )
v2 = sub_1002E73C8();
else
v2 = *(_QWORD *)(result + 688);
if ( (unsigned int)sub_1002E757C(v2) )
{
v3 = 0;
do
{
v4 = sub_1002E75A0(v2, v3);
sub_100435660(v4, *(unsigned int *)(v1 + 1048), *(unsigned int *)(v1 + 1052));
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_1002E757C(v2) );
}
*(_QWORD *)(v1 + 1048) = 0;
return sub_10011D5B8(v1);
}
}
return result;
}