{"type": "func", "start": 4109444, "end": 4109480, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x3eb484 to 0x3eb4a8 (36 bytes)\n// \n// 1 xrefs:\n// > EditorUI::replaceGroupID @ 0x37e50c\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_start; // r3\n  ChanceObject *m_finish; // r4\n\n  m_start = a1->m_chanceObjects.m_start;\n  m_finish = a1->m_chanceObjects.m_finish;\n  while ( 1 )\n  {\n    ++m_start;\n    if ( m_finish == &m_start[-1] )\n      break;\n    if ( m_start[-1].m_groupID == a2 )\n      m_start[-1].m_groupID = a3;\n  }\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x3eb484 to 0x3eb4a8 (36 bytes)\n; \n; 1 xrefs:\n; > EditorUI::replaceGroupID @ 0x37e50c\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\nPUSH            {R4,LR}                                                ; +0x0, 0x3eb484\nLDR.W           R3, [R0,#0x664]                                        ; +0x2, 0x3eb486\nLDR.W           R4, [R0,#0x668]                                        ; +0x6, 0x3eb48a\nADDS            R3, #0x10                                              ; +0xa, 0x3eb48e\nSUB.W           R0, R3, #0x10                                          ; +0xc, 0x3eb490\nCMP             R4, R0                                                 ; +0x10, 0x3eb494\nBEQ             locret_3EB4A6                                          ; +0x12, 0x3eb496\nLDR.W           R0, [R3,#-0x10]                                        ; +0x14, 0x3eb498\nCMP             R0, R1                                                 ; +0x18, 0x3eb49c\nIT EQ                                                                  ; +0x1a, 0x3eb49e\nSTREQ.W         R2, [R3,#-0x10]                                        ; +0x1c, 0x3eb4a0\nB               loc_3EB48E                                             ; +0x20, 0x3eb4a4\nPOP             {R4,PC}                                                ; +0x22, 0x3eb4a6", "xrefs": ["EditorUI::replaceGroupID @ 0x37e50c"], "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"}