//
// sub_100429490 from 0x100429490 to 0x100429540 (176 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002f18bc
//
// 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:05:02 +0000
//
_QWORD *__fastcall sub_100429490(__int64 a1)
{
_QWORD *v2; // x19
double v3; // d0
v2 = operator new(0x5F8u);
v3 = EnhancedGameObject::EnhancedGameObject((__int64)v2);
*v2 = off_10094D320;
v2[40] = off_10094DA88;
v2[43] = off_10094DB08;
v2[181] = &off_10094DB38;
v2[182] = &off_10094DB50;
*((_DWORD *)v2 + 381) = 0;
v2[183] = 0;
v2[185] = 0;
v2[184] = 0;
*((_WORD *)v2 + 744) = 0;
v2[187] = 0;
v2[189] = 0;
v2[188] = 0;
*((_BYTE *)v2 + 1520) = 0;
if ( (unsigned int)sub_100429554(v2, a1, v3) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}