//
// PlayerControlGameObject::customObjectSetup from 0x1406637a0 to 0x140663917 (375 bytes)
//
// 2 xrefs:
// > ??> @ 0x14082c148
// > ??> @ 0x140931c28
//
// 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 11:35:49 +0000
//
bool __fastcall PlayerControlGameObject::customObjectSetup(_BYTE *a1, __int64 a2, __int64 a3)
{
int v6; // ebx
int v7; // eax
const char *v8; // rcx
int v9; // eax
const char *v10; // rcx
int v11; // eax
const char *v12; // rcx
int v13; // eax
const char *v14; // rcx
int v15; // eax
const char *v16; // rcx
const char *v17; // rcx
EffectGameObject::customObjectSetup((__int64)a1, a2, a3);
v6 = 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 1104LL) )
{
v8 = (const char *)(*(_QWORD *)a2 + 4416LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 4440LL) > 0xFu )
v8 = *(const char **)v8;
v7 = atoi(v8);
}
else
{
v7 = 0;
}
a1[1700] = v7 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 1600LL) )
{
v10 = (const char *)(*(_QWORD *)a2 + 6400LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 6424LL) > 0xFu )
v10 = *(const char **)v10;
v9 = atoi(v10);
}
else
{
v9 = 0;
}
a1[1701] = v9 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4320LL) )
{
v12 = (const char *)(*(_QWORD *)a2 + 17280LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 17304LL) > 0xFu )
v12 = *(const char **)v12;
v11 = atoi(v12);
}
else
{
v11 = 0;
}
a1[1856] = v11 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4328LL) )
{
v14 = (const char *)(*(_QWORD *)a2 + 17312LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 17336LL) > 0xFu )
v14 = *(const char **)v14;
v13 = atoi(v14);
}
else
{
v13 = 0;
}
a1[1857] = v13 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4336LL) )
{
v16 = (const char *)(*(_QWORD *)a2 + 17344LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 17368LL) > 0xFu )
v16 = *(const char **)v16;
v15 = atoi(v16);
}
else
{
v15 = 0;
}
a1[1858] = v15 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4344LL) )
{
v17 = (const char *)(*(_QWORD *)a2 + 17376LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 17400LL) > 0xFu )
v17 = *(const char **)v17;
v6 = atoi(v17);
}
a1[1859] = v6 != 0;
return v6 != 0;
}