//
// ChanceTriggerGameObject::remapChanceObjects from 0x100389718 to 0x100389770 (88 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::applyRemap @ 0x1001ed640
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ChanceTriggerGameObject::remapChanceObjects(
ChanceTriggerGameObject *a1,
std::unordered_map *const a2)
{
std::__vector_base::pointer begin; // x20
std::__vector_base::pointer i; // x21
__int64 *v5; // x0
begin = a1->m_chanceObjects.__begin_;
for ( i = a1->m_chanceObjects.__end_; begin != i; ++begin )
{
v5 = sub_100018814(a2, &begin->m_groupID);
if ( v5 )
begin->m_groupID = *((_DWORD *)v5 + 5);
}
}