//
// sub_10042588C from 0x10042588c to 0x10042599c (272 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002f1a20
//
// 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 sub_10042588C(__int64 a1)
{
char *v2; // x19
v2 = (char *)operator new(0x838u);
EffectGameObject::EffectGameObject();
*((_DWORD *)v2 + 520) = 0;
*((_OWORD *)v2 + 115) = 0u;
*((_OWORD *)v2 + 116) = 0u;
*(_OWORD *)(v2 + 1866) = 0u;
v2[1932] = 0;
*(_OWORD *)(v2 + 1884) = 0u;
*(_OWORD *)(v2 + 1900) = 0u;
*(_OWORD *)(v2 + 1916) = 0u;
*((_QWORD *)v2 + 242) = 0;
v2[1944] = 0;
*(_OWORD *)(v2 + 1948) = 0u;
*(_OWORD *)(v2 + 1964) = 0u;
*(_OWORD *)(v2 + 1980) = 0u;
*(_OWORD *)(v2 + 1991) = 0u;
*(_OWORD *)(v2 + 2008) = 0u;
*(_OWORD *)(v2 + 2024) = 0u;
*(_OWORD *)(v2 + 2040) = 0u;
*(_OWORD *)(v2 + 2056) = 0u;
*(_QWORD *)(v2 + 2069) = 0;
*(_QWORD *)v2 = &off_100955D08;
*((_QWORD *)v2 + 40) = off_100956460;
*((_QWORD *)v2 + 43) = off_1009564E0;
*(_OWORD *)(v2 + 2084) = xmmword_100760E30;
v2[2100] = 0;
if ( (unsigned int)EnhancedGameObject::init((__int64)v2, a1) )
{
*((_DWORD *)v2 + 312) = 1;
v2[1450] = -1;
*((_WORD *)v2 + 724) = -1;
*((_DWORD *)v2 + 363) = 1056964608;
v2[1636] = 1;
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}