//
// ChanceTriggerGameObject::editChanceObject from 0x87ab3c to 0x87ab7c (64 bytes)
//
// 2 xrefs:
// > EditorUI::replaceGroupID @ 0x7c3bb8
// > ??> @ 0xc3550
//
// 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:55:51 +0000
//
_DWORD *__fastcall ChanceTriggerGameObject::editChanceObject(ChanceTriggerGameObject *this, int a2, int a3)
{
_DWORD *v3; // x4
_DWORD *result; // x0
v3 = *((_DWORD **)this + 231);
for ( result = *((_DWORD **)this + 230); v3 != result; result += 4 )
{
while ( *result != a2 )
{
result += 4;
if ( v3 == result )
return result;
}
*result = a3;
}
return result;
}