//
// GJBaseGameLayer::objectForUniqueID from 0x59dd6c to 0x59dd8e (34 bytes)
//
// 2 xrefs:
// > ReadArchive::process @ 0x717188
// > ReadArchive::process @ 0x71cb28
//
// 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:15 +0000
//
int __fastcall GJBaseGameLayer::objectForUniqueID(GJBaseGameLayer *this, unsigned int a2, unsigned int a3)
{
_DWORD *v4; // r0
unsigned int v5[2]; // [sp+4h] [bp-8h] BYREF
v5[1] = a3;
v5[0] = a2;
if ( a2
&& (v4 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_DWORD *)this + 2917,
v5)) != nullptr )
{
return v4[3];
}
else
{
return 0;
}
}