//
// GJBaseGameLayer::objectForUniqueID from 0x9b3d40 to 0x9b3d7c (60 bytes)
//
// 3 xrefs:
// > ReadArchive::process @ 0xc0f524
// > ReadArchive::process @ 0xc1ab08
// > ??> @ 0x9cf70
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:58:21 +0000
//
__int64 __fastcall GJBaseGameLayer::objectForUniqueID(GJBaseGameLayer *this, int a2)
{
__int64 *v2; // x0
int v4; // [xsp+1Ch] [xbp+1Ch] BYREF
v4 = a2;
if ( a2
&& (v2 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_QWORD *)this + 1744,
&v4)) != nullptr )
{
return v2[3];
}
else
{
return 0;
}
}