//
// StartPosObject::create from 0x10019df60 to 0x10019e04e (238 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066edb5
//
// 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:25:58 +0000
//
_QWORD *StartPosObject::create()
{
_QWORD *v0; // rbx
char *v1; // rax
char *v2; // rdi
char *v3; // r14
v0 = operator new(0x738u);
EffectGameObject::EffectGameObject(v0);
*v0 = off_100AC7EF0;
v0[40] = off_100AC8648;
v0[43] = off_100AC86C8;
v0[230] = 0;
if ( (unsigned __int8)EnhancedGameObject::init(v0, "edit_eStartPosBtn_001.png") )
{
*((_DWORD *)v0 + 312) = 1;
*((_BYTE *)v0 + 1450) = -1;
*((_WORD *)v0 + 724) = -1;
*((_DWORD *)v0 + 363) = 1056964608;
*((_BYTE *)v0 + 1636) = 1;
v1 = LevelSettingsObject::create();
v2 = (char *)v0[230];
if ( v2 == v1 )
{
v3 = (char *)v0[230];
}
else
{
v3 = v1;
if ( v1 )
{
cocos2d::CCObject::retain(v1);
v2 = (char *)v0[230];
}
if ( v2 )
cocos2d::CCObject::release(v2);
v0[230] = v3;
}
v3[368] = 1;
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}