//
// SpawnTriggerGameObject::getRemapWithTarget from 0x4e9014 to 0x4e9034 (32 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::addTriggersWithGroupID @ 0x46b050
//
// 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:51:07 +0000
//
int __fastcall SpawnTriggerGameObject::getRemapWithTarget(SpawnTriggerGameObject *this, int a2)
{
int v2; // r2
int v3; // r3
int result; // r0
v2 = *((_DWORD *)this + 413);
v3 = *((_DWORD *)this + 412);
while ( 1 )
{
result = v3;
if ( v3 == v2 )
break;
v3 += 16;
if ( *(_DWORD *)(v3 - 8) == a2 )
return result;
}
return 0;
}