//
// GJBaseGameLayer::registerStateObject from 0x1002863e0 to 0x100286434 (84 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042c064
//
// 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:01:58 +0000
//
_QWORD *__fastcall GJBaseGameLayer::registerStateObject(__int64 a1, __int64 a2)
{
_QWORD *result; // x0
int v4; // [xsp+0h] [xbp-20h] BYREF
int *v5; // [xsp+8h] [xbp-18h] BYREF
v4 = *(_DWORD *)(a2 + 916);
v5 = &v4;
result = sub_10001A978(a1 + 1264, &v4, (__int64)&unk_100763014, &v5);
result[3] = a2;
return result;
}