//
// sub_4662D0 from 0x4662d0 to 0x466304 (52 bytes)
//
// 2 xrefs:
// > std::__ndk1::__hash_table,std::__ndk1::allocator>,int>,std::__ndk1::__unordered_map_hasher,std::__ndk1::allocator>,std::__ndk1::__hash_value_type,std::__ndk1::allocator>,int>,std::__ndk1::hash,std::__ndk1::allocator>>,true>,std::__ndk1::__unordered_map_equal,std::__ndk1::allocator>,std::__ndk1::__hash_value_type,std::__ndk1::allocator>,int>,std::__ndk1::equal_to,std::__ndk1::allocator>>,true>,std::__ndk1::allocator,std::__ndk1::allocator>,int>>>::find,std::__ndk1::allocator>> @ 0x4672ee
// > std::__ndk1::unordered_map,std::__ndk1::allocator>,int,std::__ndk1::hash,std::__ndk1::allocator>>,std::__ndk1::equal_to,std::__ndk1::allocator>>,std::__ndk1::allocator,std::__ndk1::allocator> const,int>>>::operator[] @ 0x46c112
//
// 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:48:56 +0000
//
unsigned int __fastcall sub_4662D0(unsigned __int8 *a1, int a2)
{
int v2; // r2
int v3; // r1
unsigned int v4; // r2
_DWORD v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = a1;
v6[1] = a2;
v2 = *a1;
if ( (v2 & 1) != 0 )
{
v4 = *((_DWORD *)a1 + 1);
v3 = *((_DWORD *)a1 + 2);
}
else
{
v3 = (int)(a1 + 1);
v4 = v2 >> 1;
}
return std::__murmur2_or_cityhash::operator()((int)v6, v3, v4);
}