//
// GJBaseGameLayer::registerStateObject from 0x10012a770 to 0x10012a7b3 (67 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x1001ba34d
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::registerStateObject(GJBaseGameLayer *a1, EffectGameObject *a2)
{
int *p_m_uniqueID; // [rsp+8h] [rbp-18h] BYREF
int m_uniqueID; // [rsp+10h] [rbp-10h] BYREF
_BYTE v4[9]; // [rsp+17h] [rbp-9h] BYREF
m_uniqueID = a2->m_uniqueID;
p_m_uniqueID = &m_uniqueID;
*(_QWORD *)(sub_100167B50(&a1->m_gameState.m_stateObjects, &m_uniqueID, &unk_100816AE0, &p_m_uniqueID, v4) + 24) = a2;
}