//
// sub_10037AAB8 from 0x10037aab8 to 0x10037ab84 (204 bytes)
//
// 1 xrefs:
// > EditorUI::editObjectSpecial @ 0x10047c468
//
// 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:03:27 +0000
//
_QWORD *__fastcall sub_10037AAB8(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x19
double v7; // d0
v6 = operator new(0x3F8u);
v7 = SetupTriggerPopup::SetupTriggerPopup((__int64)v6);
*v6 = &off_100938F58;
v6[40] = off_100939548;
v6[41] = &off_1009395B8;
v6[42] = off_1009395D0;
v6[43] = off_1009395F0;
v6[44] = off_100939618;
v6[51] = off_100939648;
v6[54] = off_1009396C8;
v6[68] = off_1009396E8;
v6[83] = &off_100939730;
v6[84] = off_100939748;
if ( (unsigned int)sub_10037AB98(v6, a1, a2, a3, v7) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}