//
// SmartGameObject::create from 0x1004269b4 to 0x100426a44 (144 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002f19d8
//
// 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:01 +0000
//
char *__fastcall SmartGameObject::create(__int64 a1)
{
char *v2; // x19
v2 = (char *)operator new(0x578u);
GameObject::GameObject((__int64)v2);
*(_QWORD *)v2 = off_100950B98;
*((_QWORD *)v2 + 40) = off_1009512C8;
*((_QWORD *)v2 + 43) = off_100951348;
v2[1347] = 0;
*(_OWORD *)(v2 + 1352) = 0u;
*(_OWORD *)(v2 + 1368) = 0u;
*(_OWORD *)(v2 + 1384) = 0u;
if ( (unsigned int)SmartGameObject::init(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}