//
// EnhancedGameObject::create from 0x100673590 to 0x10067369e (270 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066eba0
//
// 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:35:02 +0000
//
char *__fastcall EnhancedGameObject::create(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x5A8u);
GameObject::GameObject((__int64)v1);
*(_QWORD *)v1 = off_100B84668;
*((_QWORD *)v1 + 40) = off_100B84DC0;
*((_QWORD *)v1 + 43) = off_100B84E40;
*(_OWORD *)(v1 + 1347) = 0;
*(_QWORD *)(v1 + 1361) = 0;
*((_DWORD *)v1 + 343) = 1065353216;
*((_WORD *)v1 + 688) = 0;
v1[1378] = 0;
*(_QWORD *)(v1 + 1380) = 0x13F800000LL;
v1[1388] = 0;
*((_OWORD *)v1 + 87) = 0;
v1[1408] = 0;
*((_DWORD *)v1 + 353) = 1065353216;
*((_WORD *)v1 + 712) = 0;
*((_QWORD *)v1 + 177) = 0;
*(_OWORD *)(v1 + 1428) = 0;
*(_DWORD *)(v1 + 1443) = 0;
if ( (unsigned __int8)CCSpritePlus::initWithSpriteFrameName((__int64)v1, a1, 0.0) )
{
GameObject::commonSetup(v1);
*((_DWORD *)v1 + 312) = 4;
v1[313] = 0;
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}