//
// GJBaseGameLayer::playerTouchedObject from 0x5a4198 to 0x5a41e8 (80 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::canBeActivatedByPlayer @ 0x5a421a
// > GJBaseGameLayer::canBeActivatedByPlayer @ 0x5a4228
//
// 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:19 +0000
//
int __fastcall GJBaseGameLayer::playerTouchedObject(int **this, PlayerObject *a2, GameObject *a3)
{
int result; // r0
int *v5; // [sp+10h] [bp-1Ch] BYREF
int v6[2]; // [sp+14h] [bp-18h] BYREF
int v7; // [sp+1Ch] [bp-10h] BYREF
v6[0] = *((_DWORD *)a3 + 195);
v5 = v6;
v6[1] = *((_DWORD *)a2 + 195);
result = std::__tree,int>,std::__map_value_compare,std::__value_type,int>,std::less>,true>,std::allocator,int>>>::__emplace_unique_key_args,std::piecewise_construct_t const&,std::tuple const&>,std::tuple<>>(
(int)&v7,
this + 243,
v6,
(int)&unk_BEE078,
&v5);
*(_DWORD *)(v7 + 24) = *(this + 202);
return result;
}