//
// GJBaseGameLayer::registerStateObject from 0x5a88b0 to 0x5a88e2 (50 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x4f519a
// > GJBaseGameLayer::playerTouchedRing @ 0x5a88f8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:23 +0000
//
_DWORD *__fastcall GJBaseGameLayer::registerStateObject(GJBaseGameLayer *this, EffectGameObject *a2, unsigned int a3)
{
_DWORD *result; // r0
unsigned int v5[3]; // [sp+0h] [bp-Ch] BYREF
v5[0] = (unsigned int)this;
v5[1] = (unsigned int)a2;
v5[2] = a3;
v5[0] = *((_DWORD *)a2 + 195);
result = std::unordered_map::operator[]((int)this + 1052, v5);
*result = a2;
return result;
}