//
// ThreadOptionsPopup::create from 0x1004fbdb8 to 0x1004fbe30 (120 bytes)
//
// 2 xrefs:
// > sub_10013A524 @ 0x10013a53c
// > sub_1004F9578 @ 0x1004f958c
//
// 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:06:51 +0000
//
void *__fastcall ThreadOptionsPopup::create(__int64 a1, __int64 a2, __int64 a3)
{
void *v6; // x19
v6 = operator new(0x428u);
sub_10051590C();
if ( (unsigned int)ThreadOptionsPopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}