{"type": "func", "start": 4298676112, "end": 4298676156, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x100389790 to 0x1003897bc (44 bytes)\n// \n// 1 xrefs:\n// > EditorUI::replaceGroupID @ 0x1003f3388\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 __fastcall ChanceTriggerGameObject::editChanceObject(ChanceTriggerGameObject *a1, int a2, int a3)\n{\n  std::__vector_base<ChanceObject>::pointer begin; // x8\n  std::__vector_base<ChanceObject>::pointer end; // x9\n\n  begin = a1->m_chanceObjects.__begin_;\n  end = a1->m_chanceObjects.__end_;\n  while ( begin != end )\n  {\n    if ( begin->m_groupID == a2 )\n      begin->m_groupID = a3;\n    ++begin;\n  }\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x100389790 to 0x1003897bc (44 bytes)\n; \n; 1 xrefs:\n; > EditorUI::replaceGroupID @ 0x1003f3388\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             X8, [X0,#0x730]                                        ; +0x0, 0x100389790\nLDR             X9, [X0,#0x738]                                        ; +0x4, 0x100389794\nCMP             X8, X9                                                 ; +0x8, 0x100389798\nB.EQ            locret_1003897B8                                       ; +0xc, 0x10038979c\nLDR             W10, [X8]                                              ; +0x10, 0x1003897a0\nCMP             W10, W1                                                ; +0x14, 0x1003897a4\nB.NE            loc_1003897B0                                          ; +0x18, 0x1003897a8\nSTR             W2, [X8]                                               ; +0x1c, 0x1003897ac\nADD             X8, X8, #0x10                                          ; +0x20, 0x1003897b0\nB               loc_100389798                                          ; +0x24, 0x1003897b4\nRET                                                                    ; +0x28, 0x1003897b8", "xrefs": ["EditorUI::replaceGroupID @ 0x1003f3388"], "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"}