{"type": "func", "start": 4296783280, "end": 4296783337, "name": "ChanceTriggerGameObject::containsTargetID", "pseudocode": "// \n// ChanceTriggerGameObject::containsTargetID from 0x1001bb5b0 to 0x1001bb5e9 (57 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall ChanceTriggerGameObject::containsTargetID(ChanceTriggerGameObject *a1, int a2)\n{\n  std::__vector_base<ChanceObject>::pointer begin; // rdx\n  std::__vector_base<ChanceObject>::pointer end; // rcx\n  std::__vector_base<ChanceObject>::pointer v4; // rdx\n  bool result; // al\n\n  begin = a1->m_chanceObjects.__begin_;\n  end = a1->m_chanceObjects.__end_;\n  if ( begin == end )\n    return 0;\n  v4 = begin + 1;\n  do\n  {\n    result = v4[-1].m_groupID == a2;\n    if ( v4[-1].m_groupID == a2 )\n      break;\n  }\n  while ( v4++ != end );\n  return result;\n}", "assembly": "; \n; ChanceTriggerGameObject::containsTargetID from 0x1001bb5b0 to 0x1001bb5e9 (57 bytes)\n; \n; 0 xrefs:\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     rdx, [rdi+730h]                                                ; +0x0, 0x1001bb5b0\nmov     rcx, [rdi+738h]                                                ; +0x7, 0x1001bb5b7\ncmp     rdx, rcx                                                       ; +0xe, 0x1001bb5be\njz      short loc_1001BB5E6                                            ; +0x11, 0x1001bb5c1\npush    rbp                                                            ; +0x13, 0x1001bb5c3\nmov     rbp, rsp                                                       ; +0x14, 0x1001bb5c4\nadd     rdx, 10h                                                       ; +0x17, 0x1001bb5c7\nnop     dword ptr [rax+rax+00h]                                        ; +0x1b, 0x1001bb5cb\ncmp     [rdx-10h], esi                                                 ; +0x20, 0x1001bb5d0\nsetz    al                                                             ; +0x23, 0x1001bb5d3\njz      short loc_1001BB5E4                                            ; +0x26, 0x1001bb5d6\nlea     rdi, [rdx+10h]                                                 ; +0x28, 0x1001bb5d8\ncmp     rdx, rcx                                                       ; +0x2c, 0x1001bb5dc\nmov     rdx, rdi                                                       ; +0x2f, 0x1001bb5df\njnz     short loc_1001BB5D0                                            ; +0x32, 0x1001bb5e2\npop     rbp                                                            ; +0x34, 0x1001bb5e4\nretn                                                                   ; +0x35, 0x1001bb5e5\nxor     eax, eax                                                       ; +0x36, 0x1001bb5e6\nretn                                                                   ; +0x38, 0x1001bb5e8", "xrefs": [], "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"}