//
// SongTriggerGameObject::customObjectSetup from 0x100434840 to 0x100434910 (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x100959bf8
//
// 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:07 +0000
//
__int64 __fastcall SongTriggerGameObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
__int64 v7; // x8
const char *v8; // x0
__int64 v9; // x8
const char *v10; // x0
const char *v11; // x0
__int64 result; // x0
SFXTriggerGameObject::customObjectSetup(a1, a2, (__int64)a3);
v6 = (_QWORD *)*a3;
v7 = v6[399];
if ( v7 )
{
v8 = (const char *)(*(_QWORD *)a2 + 9576LL);
if ( *(char *)(*(_QWORD *)a2 + 9599LL) < 0 )
v8 = *(const char **)v8;
LOBYTE(v7) = atoi(v8) != 0;
}
*(_BYTE *)(a1 + 2025) = v7;
v9 = v6[400];
if ( v9 )
{
v10 = (const char *)(*(_QWORD *)a2 + 9600LL);
if ( *(char *)(*(_QWORD *)a2 + 9623LL) < 0 )
v10 = *(const char **)v10;
LOBYTE(v9) = atoi(v10) != 0;
}
*(_BYTE *)(a1 + 2026) = v9;
if ( v6[432] )
{
v11 = (const char *)(*(_QWORD *)a2 + 10368LL);
if ( *(char *)(*(_QWORD *)a2 + 10391LL) < 0 )
v11 = *(const char **)v11;
result = atoi(v11);
}
else
{
result = 0;
}
*(_DWORD *)(a1 + 2028) = result;
return result;
}