{"type": "func", "start": 4296814064, "end": 4296814115, "name": "ChanceTriggerGameObject::editChanceObject", "pseudocode": "// \n// ChanceTriggerGameObject::editChanceObject from 0x1001c2df0 to 0x1001c2e23 (51 bytes)\n// \n// 1 xrefs:\n// > EditorUI::replaceGroupID @ 0x1000452c6\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; // rax\n  std::__vector_base<ChanceObject>::pointer i; // rcx\n\n  begin = a1->m_chanceObjects.__begin_;\n  for ( i = a1->m_chanceObjects.__end_; begin != i; ++begin )\n  {\n    if ( begin->m_groupID == a2 )\n      begin->m_groupID = a3;\n  }\n}", "assembly": "; \n; ChanceTriggerGameObject::editChanceObject from 0x1001c2df0 to 0x1001c2e23 (51 bytes)\n; \n; 1 xrefs:\n; > EditorUI::replaceGroupID @ 0x1000452c6\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\nmov     rax, [rdi+730h]                                                ; +0x0, 0x1001c2df0\nmov     rcx, [rdi+738h]                                                ; +0x7, 0x1001c2df7\ncmp     rax, rcx                                                       ; +0xe, 0x1001c2dfe\njz      short locret_1001C2E22                                         ; +0x11, 0x1001c2e01\npush    rbp                                                            ; +0x13, 0x1001c2e03\nmov     rbp, rsp                                                       ; +0x14, 0x1001c2e04\njmp     short loc_1001C2E19                                            ; +0x17, 0x1001c2e07\nalign 10h                                                              ; +0x19, 0x1001c2e09\nadd     rax, 10h                                                       ; +0x20, 0x1001c2e10\ncmp     rax, rcx                                                       ; +0x24, 0x1001c2e14\njz      short loc_1001C2E21                                            ; +0x27, 0x1001c2e17\ncmp     [rax], esi                                                     ; +0x29, 0x1001c2e19\njnz     short loc_1001C2E10                                            ; +0x2b, 0x1001c2e1b\nmov     [rax], edx                                                     ; +0x2d, 0x1001c2e1d\njmp     short loc_1001C2E10                                            ; +0x2f, 0x1001c2e1f\npop     rbp                                                            ; +0x31, 0x1001c2e21\nretn                                                                   ; +0x32, 0x1001c2e22", "xrefs": ["EditorUI::replaceGroupID @ 0x1000452c6"], "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"}