//
// EnterEffectObject::create from 0x757830 to 0x7579e0 (432 bytes)
//
// 2 xrefs:
// > GameObject::createWithKey @ 0x6548f0
// > ??> @ 0x68058
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
EnterEffectObject *EnterEffectObject::create(const char *a1)
{
__int64 v2; // x19
v2 = operator new(0x800u);
EffectGameObject::EffectGameObject((EffectGameObject *)v2);
*(_DWORD *)(v2 + 1820) = 0;
*(_QWORD *)v2 = &off_1162630;
*(_QWORD *)(v2 + 320) = &off_1162D78;
*(_QWORD *)(v2 + 344) = &off_1162DF8;
*(_DWORD *)(v2 + 1824) = 0;
*(_DWORD *)(v2 + 1828) = 0;
*(_DWORD *)(v2 + 1832) = 0;
*(_DWORD *)(v2 + 1836) = 0;
*(_DWORD *)(v2 + 1840) = 0;
*(_DWORD *)(v2 + 1844) = 0;
*(_DWORD *)(v2 + 1848) = 0;
*(_DWORD *)(v2 + 1852) = 0;
*(_DWORD *)(v2 + 1872) = 0;
*(_DWORD *)(v2 + 1876) = 0;
*(_BYTE *)(v2 + 1880) = 0;
*(_DWORD *)(v2 + 1856) = 0;
*(_DWORD *)(v2 + 1860) = 0;
*(_DWORD *)(v2 + 1864) = 0;
*(_DWORD *)(v2 + 1868) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 1884));
*(_BYTE *)(v2 + 1892) = 0;
*(_DWORD *)(v2 + 1900) = 0;
*(_DWORD *)(v2 + 1908) = 0;
*(float *)(v2 + 1904) = 2.0;
*(_DWORD *)(v2 + 1912) = 0;
*(_DWORD *)(v2 + 1896) = 0;
*(_DWORD *)(v2 + 1920) = 0;
*(float *)(v2 + 1916) = 2.0;
*(_DWORD *)(v2 + 1924) = 0;
*(_DWORD *)(v2 + 1928) = 0;
*(_DWORD *)(v2 + 1932) = 0;
*(_DWORD *)(v2 + 1936) = 0;
*(_DWORD *)(v2 + 1940) = 0;
*(_DWORD *)(v2 + 1944) = 0;
*(_DWORD *)(v2 + 1948) = 0;
*(_BYTE *)(v2 + 1952) = 0;
*(_BYTE *)(v2 + 1953) = 0;
*(float *)(v2 + 1956) = 1.0;
*(_DWORD *)(v2 + 1972) = 0;
*(float *)(v2 + 1960) = 1.0;
*(_BYTE *)(v2 + 1992) = 0;
*(_DWORD *)(v2 + 1964) = 0;
*(_BYTE *)(v2 + 1993) = 0;
*(_DWORD *)(v2 + 1968) = 0;
*(_BYTE *)(v2 + 2000) = 0;
*(_DWORD *)(v2 + 1976) = 0;
*(_BYTE *)(v2 + 2001) = 0;
*(_DWORD *)(v2 + 1980) = 0;
*(_DWORD *)(v2 + 2004) = 0;
*(_DWORD *)(v2 + 1984) = 0;
*(_DWORD *)(v2 + 2008) = 0;
*(_DWORD *)(v2 + 1988) = 0;
*(_DWORD *)(v2 + 1996) = 0;
*(_DWORD *)(v2 + 2012) = 0;
*(_BYTE *)(v2 + 2016) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 2020));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 2028));
*(_BYTE *)(v2 + 2036) = 0;
*(_DWORD *)(v2 + 2044) = 0;
if ( EnterEffectObject::init((EnterEffectObject *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (EnterEffectObject *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}