{"type": "func", "start": 7742236, "end": 7742308, "name": "ChanceTriggerGameObject::containsTargetID", "pseudocode": "// \n// ChanceTriggerGameObject::containsTargetID from 0x76231c to 0x762364 (72 bytes)\n// \n// 2 xrefs:\n// > EffectGameObject::hasSpawnTargetID @ 0x76242c\n// > <???> @ 0x82c80\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 ChanceTriggerGameObject::containsTargetID(ChanceTriggerGameObject *a1, int a2)\n{\n  ChanceObject *m_start; // x2\n  ChanceObject *m_finish; // x3\n  ChanceObject *i; // x0\n  int m_groupID; // t1\n\n  m_start = a1->m_chanceObjects.m_start;\n  m_finish = a1->m_chanceObjects.m_finish;\n  if ( m_finish == m_start )\n    return 0;\n  if ( m_start->m_groupID != a2 )\n  {\n    for ( i = m_start + 1; m_finish != i; ++i )\n    {\n      m_groupID = i->m_groupID;\n      if ( m_groupID == a2 )\n        return 1;\n    }\n    return 0;\n  }\n  return 1;\n}", "assembly": "; \n; ChanceTriggerGameObject::containsTargetID from 0x76231c to 0x762364 (72 bytes)\n; \n; 2 xrefs:\n; > EffectGameObject::hasSpawnTargetID @ 0x76242c\n; > <???> @ 0x82c80\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             X2, [X0,#0x720]                                        ; +0x0, 0x76231c\nLDR             X3, [X0,#0x728]                                        ; +0x4, 0x762320\nCMP             X3, X2                                                 ; +0x8, 0x762324\nB.EQ            loc_762354                                             ; +0xc, 0x762328\nLDR             W0, [X2]                                               ; +0x10, 0x76232c\nCMP             W0, W1                                                 ; +0x14, 0x762330\nB.EQ            loc_76235C                                             ; +0x18, 0x762334\nADD             X0, X2, #0x10                                          ; +0x1c, 0x762338\nB               loc_76234C                                             ; +0x20, 0x76233c\nLDR             W2, [X0],#0x10                                         ; +0x24, 0x762340\nCMP             W2, W1                                                 ; +0x28, 0x762344\nB.EQ            loc_76235C                                             ; +0x2c, 0x762348\nCMP             X3, X0                                                 ; +0x30, 0x76234c\nB.NE            loc_762340                                             ; +0x34, 0x762350\nMOV             W0, #0                                                 ; +0x38, 0x762354\nRET                                                                    ; +0x3c, 0x762358\nMOV             W0, #1                                                 ; +0x40, 0x76235c\nRET                                                                    ; +0x44, 0x762360", "xrefs": ["EffectGameObject::hasSpawnTargetID @ 0x76242c", "<???> @ 0x82c80"], "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"}