//
// StartPosObject::init from 0x10019e070 to 0x10019e10f (159 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac7f40
//
// 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
//
__int64 __fastcall StartPosObject::init(__int64 a1)
{
__int64 result; // rax
unsigned int v3; // r15d
char *v4; // rax
char *v5; // rdi
char *v6; // r14
result = EnhancedGameObject::init(a1, "edit_eStartPosBtn_001.png");
if ( (_BYTE)result )
{
v3 = result;
*(_DWORD *)(a1 + 1248) = 1;
*(_BYTE *)(a1 + 1450) = -1;
*(_WORD *)(a1 + 1448) = -1;
*(_DWORD *)(a1 + 1452) = 1056964608;
*(_BYTE *)(a1 + 1636) = 1;
v4 = LevelSettingsObject::create();
v5 = *(char **)(a1 + 1840);
if ( v5 == v4 )
{
v6 = *(char **)(a1 + 1840);
}
else
{
v6 = v4;
if ( v4 )
{
cocos2d::CCObject::retain(v4);
v5 = *(char **)(a1 + 1840);
}
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 1840) = v6;
}
v6[368] = 1;
return v3;
}
return result;
}