{"type": "func", "start": 4296685248, "end": 4296685299, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x1001a36c0 to 0x1001a36f3 (51 bytes)\n// \n// 1 xrefs:\n// > EditorUI::replaceGroupID @ 0x10001639e\n// \n// This function is hookable on this platform (idp: pc, 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:26:00 +0000\n// \n\n_DWORD *__fastcall ChanceTriggerGameObject::editChanceObject(__int64 a1, int a2, int a3)\n{\n  _DWORD *result; // rax\n  _DWORD *i; // rcx\n\n  result = *(_DWORD **)(a1 + 1840);\n  for ( i = *(_DWORD **)(a1 + 1848); result != i; result += 4 )\n  {\n    if ( *result == a2 )\n      *result = a3;\n  }\n  return result;\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x1001a36c0 to 0x1001a36f3 (51 bytes)\n; \n; 1 xrefs:\n; > EditorUI::replaceGroupID @ 0x10001639e\n; \n; This function is hookable on this platform (idp: pc, 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:26:00 +0000\n; \nmov     rax, [rdi+730h]                                                ; +0x0, 0x1001a36c0\nmov     rcx, [rdi+738h]                                                ; +0x7, 0x1001a36c7\ncmp     rax, rcx                                                       ; +0xe, 0x1001a36ce\njz      short locret_1001A36F2                                         ; +0x11, 0x1001a36d1\npush    rbp                                                            ; +0x13, 0x1001a36d3\nmov     rbp, rsp                                                       ; +0x14, 0x1001a36d4\njmp     short loc_1001A36E9                                            ; +0x17, 0x1001a36d7\nalign 20h                                                              ; +0x19, 0x1001a36d9\nadd     rax, 10h                                                       ; +0x20, 0x1001a36e0\ncmp     rax, rcx                                                       ; +0x24, 0x1001a36e4\njz      short loc_1001A36F1                                            ; +0x27, 0x1001a36e7\ncmp     [rax], esi                                                     ; +0x29, 0x1001a36e9\njnz     short loc_1001A36E0                                            ; +0x2b, 0x1001a36eb\nmov     [rax], edx                                                     ; +0x2d, 0x1001a36ed\njmp     short loc_1001A36E0                                            ; +0x2f, 0x1001a36ef\npop     rbp                                                            ; +0x31, 0x1001a36f1\nretn                                                                   ; +0x32, 0x1001a36f2", "xrefs": ["EditorUI::replaceGroupID @ 0x10001639e"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}