{"type": "func", "start": 7742172, "end": 7742236, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x7622dc to 0x76231c (64 bytes)\n// \n// 2 xrefs:\n// > EditorUI::replaceGroupID @ 0x68a730\n// > <???> @ 0x93d68\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid ChanceTriggerGameObject::editChanceObject(ChanceTriggerGameObject *a1, int a2, int a3)\n{\n  ChanceObject *m_finish; // x4\n  ChanceObject *i; // x0\n\n  m_finish = a1->m_chanceObjects.m_finish;\n  for ( i = a1->m_chanceObjects.m_start; m_finish != i; ++i )\n  {\n    while ( i->m_groupID != a2 )\n    {\n      if ( m_finish == ++i )\n        return;\n    }\n    i->m_groupID = a3;\n  }\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x7622dc to 0x76231c (64 bytes)\n; \n; 2 xrefs:\n; > EditorUI::replaceGroupID @ 0x68a730\n; > <???> @ 0x93d68\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             X4, [X0,#0x728]                                        ; +0x0, 0x7622dc\nLDR             X0, [X0,#0x720]                                        ; +0x4, 0x7622e0\nCMP             X4, X0                                                 ; +0x8, 0x7622e4\nB.NE            loc_7622FC                                             ; +0xc, 0x7622e8\nB               locret_762318                                          ; +0x10, 0x7622ec\nADD             X0, X0, #0x10                                          ; +0x14, 0x7622f0\nCMP             X4, X0                                                 ; +0x18, 0x7622f4\nB.EQ            locret_762318                                          ; +0x1c, 0x7622f8\nLDR             W3, [X0]                                               ; +0x20, 0x7622fc\nCMP             W3, W1                                                 ; +0x24, 0x762300\nB.NE            loc_7622F0                                             ; +0x28, 0x762304\nSTR             W2, [X0]                                               ; +0x2c, 0x762308\nADD             X0, X0, #0x10                                          ; +0x30, 0x76230c\nCMP             X4, X0                                                 ; +0x34, 0x762310\nB.NE            loc_7622FC                                             ; +0x38, 0x762314\nRET                                                                    ; +0x3c, 0x762318", "xrefs": ["EditorUI::replaceGroupID @ 0x68a730", "<???> @ 0x93d68"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}