//
// ChanceTriggerGameObject::editChanceObject from 0x1001a36c0 to 0x1001a36f3 (51 bytes)
//
// 1 xrefs:
// > EditorUI::replaceGroupID @ 0x10001639e
//
// This function is hookable on this platform (idp: pc, 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:26:00 +0000
//
_DWORD *__fastcall ChanceTriggerGameObject::editChanceObject(__int64 a1, int a2, int a3)
{
_DWORD *result; // rax
_DWORD *i; // rcx
result = *(_DWORD **)(a1 + 1840);
for ( i = *(_DWORD **)(a1 + 1848); result != i; result += 4 )
{
if ( *result == a2 )
*result = a3;
}
return result;
}