//
// sub_100219980 from 0x100219980 to 0x1002199ed (109 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:01 +0000
//
void *__fastcall sub_100219980(float a1, float a2)
{
void *v2; // rbx
v2 = operator new(0x3F8u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v2);
if ( (unsigned __int8)SetupTriggerPopup::init((__int64)v2, 0, 0, 1, a1, a2, 0.0) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}