//
// getRemappedID from 0x4685f8 to 0x468616 (30 bytes)
//
// 3 xrefs:
// > processTraceOutSource @ 0x47d040
// > processTraceOutSource @ 0x47d544
// > processTraceOutSource @ 0x47d55a
//
// 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:58 +0000
//
unsigned int __fastcall getRemappedID(unsigned int a1, _DWORD *a2, unsigned int a3)
{
_DWORD *v3; // r0
unsigned int v5[2]; // [sp+4h] [bp-8h] BYREF
v5[1] = a3;
v5[0] = a1;
v3 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
a2,
v5);
if ( v3 )
return v3[3];
else
return v5[0];
}