//
// getRemappedID from 0x796888 to 0x7968c0 (56 bytes)
//
// 4 xrefs:
// > processTraceOutSource @ 0x7b948c
// > processTraceOutSource @ 0x7b9ca4
// > processTraceOutSource @ 0x7b9cb8
// > ??> @ 0x64138
//
// 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:53:34 +0000
//
__int64 __fastcall getRemappedID(unsigned int a1, _QWORD *a2)
{
__int64 *v2; // x0
unsigned int v4; // [xsp+1Ch] [xbp+1Ch] BYREF
v4 = a1;
v2 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
a2,
(int *)&v4);
if ( v2 )
return *((unsigned int *)v2 + 5);
else
return v4;
}