//
// GJBaseGameLayer::registerStateObject from 0x1001ea7ec to 0x1001ea840 (84 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x1003861a4
//
// 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 m_uniqueID; // [xsp+0h] [xbp-20h] BYREF
int *p_m_uniqueID; // [xsp+8h] [xbp-18h] BYREF
m_uniqueID = a2->m_uniqueID;
p_m_uniqueID = &m_uniqueID;
sub_100019F24((unsigned __int64)&a1->m_gameState.m_stateObjects, &m_uniqueID, (__int64)&unk_10063A31C, &p_m_uniqueID)[3] = a2;
}