{"type": "func", "start": 8891196, "end": 8891260, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x87ab3c to 0x87ab7c (64 bytes)\n// \n// 2 xrefs:\n// > EditorUI::replaceGroupID @ 0x7c3bb8\n// > <???> @ 0xc3550\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:51 +0000\n// \n\n_DWORD *__fastcall ChanceTriggerGameObject::editChanceObject(ChanceTriggerGameObject *this, int a2, int a3)\n{\n  _DWORD *v3; // x4\n  _DWORD *result; // x0\n\n  v3 = *((_DWORD **)this + 231);\n  for ( result = *((_DWORD **)this + 230); v3 != result; result += 4 )\n  {\n    while ( *result != a2 )\n    {\n      result += 4;\n      if ( v3 == result )\n        return result;\n    }\n    *result = a3;\n  }\n  return result;\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x87ab3c to 0x87ab7c (64 bytes)\n; \n; 2 xrefs:\n; > EditorUI::replaceGroupID @ 0x7c3bb8\n; > <???> @ 0xc3550\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:51 +0000\n; \nLDR             X4, [X0,#0x738]                                        ; +0x0, 0x87ab3c\nLDR             X0, [X0,#0x730]                                        ; +0x4, 0x87ab40\nCMP             X0, X4                                                 ; +0x8, 0x87ab44\nB.NE            loc_87AB5C                                             ; +0xc, 0x87ab48\nB               locret_87AB78                                          ; +0x10, 0x87ab4c\nADD             X0, X0, #0x10                                          ; +0x14, 0x87ab50\nCMP             X4, X0                                                 ; +0x18, 0x87ab54\nB.EQ            locret_87AB78                                          ; +0x1c, 0x87ab58\nLDR             W3, [X0]                                               ; +0x20, 0x87ab5c\nCMP             W3, W1                                                 ; +0x24, 0x87ab60\nB.NE            loc_87AB50                                             ; +0x28, 0x87ab64\nSTR             W2, [X0]                                               ; +0x2c, 0x87ab68\nADD             X0, X0, #0x10                                          ; +0x30, 0x87ab6c\nCMP             X4, X0                                                 ; +0x34, 0x87ab70\nB.NE            loc_87AB5C                                             ; +0x38, 0x87ab74\nRET                                                                    ; +0x3c, 0x87ab78", "xrefs": ["EditorUI::replaceGroupID @ 0x7c3bb8", "<???> @ 0xc3550"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}