{"type": "func", "start": 7742308, "end": 7742624, "name": "EffectGameObject::hasSpawnTargetID", "pseudocode": "// \n// EffectGameObject::hasSpawnTargetID from 0x762364 to 0x7624a0 (316 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x81a20\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 EffectGameObject::hasSpawnTargetID(EffectGameObject *a1, int a2)\n{\n  int m_objectID; // w2\n  bool m_activateGroup; // w2\n\n  if ( a2 <= 0 )\n    return 0;\n  m_objectID = a1->m_objectID;\n  if ( m_objectID != 1912 )\n  {\n    if ( m_objectID <= 1912 )\n    {\n      if ( m_objectID > 1595 )\n      {\n        if ( m_objectID == 1811 )\n          goto LABEL_16;\n        if ( m_objectID != 1815 )\n        {\n          if ( m_objectID == 1611 )\n            goto LABEL_16;\n          goto LABEL_22;\n        }\n        return a1->m_targetGroupID == a2;\n      }\n      if ( m_objectID < 1594 && m_objectID != 1268 && m_objectID != 1329 && m_objectID != 142 )\n        goto LABEL_22;\n      return a1->m_targetGroupID == a2;\n    }\n    if ( m_objectID == 3607 )\n      return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2);\n    if ( m_objectID <= 3607 )\n    {\n      if ( m_objectID != 2068 )\n      {\n        if ( m_objectID != 3604 )\n        {\n          if ( m_objectID == 2063 )\n          {\n            if ( a1->m_targetGroupID != a2 )\n              return a2 == LODWORD(a1[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable);\n            return 1;\n          }\n          goto LABEL_22;\n        }\n        return a1->m_targetGroupID == a2;\n      }\n      return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2);\n    }\n    if ( m_objectID != 3620 )\n    {\n      if ( m_objectID > 3620 )\n      {\n        if ( m_objectID == 3640 || m_objectID == 3643 )\n          return a1->m_targetGroupID == a2;\nLABEL_22:\n        m_activateGroup = 0;\n        if ( a1->m_objectType != Collectible )\n          return m_activateGroup;\nLABEL_16:\n        m_activateGroup = a1->m_activateGroup;\n        if ( m_activateGroup )\n          return a2 == a1->m_targetGroupID;\n        return m_activateGroup;\n      }\n      if ( m_objectID != 3609 )\n        goto LABEL_22;\n      return a1->m_targetGroupID == a2;\n    }\n  }\n  if ( a1->m_targetGroupID == a2 )\n    return 1;\n  return a2 == a1->m_centerGroupID;\n}", "assembly": "; \n; EffectGameObject::hasSpawnTargetID from 0x762364 to 0x7624a0 (316 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x81a20\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\nCMP             W1, WZR                                                ; +0x0, 0x762364\nB.LE            loc_762460                                             ; +0x4, 0x762368\nLDR             W2, [X0,#0x3F4]                                        ; +0x8, 0x76236c\nCMP             W2, #0x778                                             ; +0xc, 0x762370\nB.EQ            loc_76246C                                             ; +0x10, 0x762374\nB.LE            loc_7623C0                                             ; +0x14, 0x762378\nCMP             W2, #0xE17                                             ; +0x18, 0x76237c\nB.EQ            loc_76242C                                             ; +0x1c, 0x762380\nB.GT            loc_762430                                             ; +0x20, 0x762384\nCMP             W2, #0x814                                             ; +0x24, 0x762388\nB.EQ            loc_76242C                                             ; +0x28, 0x76238c\nCMP             W2, #0xE14                                             ; +0x2c, 0x762390\nB.EQ            loc_76244C                                             ; +0x30, 0x762394\nCMP             W2, #0x80F                                             ; +0x34, 0x762398\nB.NE            loc_762418                                             ; +0x38, 0x76239c\nLDR             W2, [X0,#0x5A8]                                        ; +0x3c, 0x7623a0\nCMP             W2, W1                                                 ; +0x40, 0x7623a4\nB.EQ            loc_76248C                                             ; +0x44, 0x7623a8\nLDR             W0, [X0,#0x720]                                        ; +0x48, 0x7623ac\nCMP             W1, W0                                                 ; +0x4c, 0x7623b0\nCSET            W2, EQ                                                 ; +0x50, 0x7623b4\nMOV             W0, W2                                                 ; +0x54, 0x7623b8\nRET                                                                    ; +0x58, 0x7623bc\nCMP             W2, #0x63B                                             ; +0x5c, 0x7623c0\nB.LE            loc_7623F8                                             ; +0x60, 0x7623c4\nCMP             W2, #0x713                                             ; +0x64, 0x7623c8\nB.EQ            loc_7623E0                                             ; +0x68, 0x7623cc\nCMP             W2, #0x717                                             ; +0x6c, 0x7623d0\nB.EQ            loc_76244C                                             ; +0x70, 0x7623d4\nCMP             W2, #0x64B                                             ; +0x74, 0x7623d8\nB.NE            loc_762418                                             ; +0x78, 0x7623dc\nLDRB            W2, [X0,#0x655]                                        ; +0x7c, 0x7623e0\nCBZ             W2, loc_7623B8                                         ; +0x80, 0x7623e4\nLDR             W0, [X0,#0x5A8]; this                                  ; +0x84, 0x7623e8\nCMP             W1, W0                                                 ; +0x88, 0x7623ec\nCSET            W2, EQ                                                 ; +0x8c, 0x7623f0\nB               loc_7623B8                                             ; +0x90, 0x7623f4\nCMP             W2, #0x63A                                             ; +0x94, 0x7623f8\nB.GE            loc_76244C                                             ; +0x98, 0x7623fc\nCMP             W2, #0x4F4                                             ; +0x9c, 0x762400\nB.EQ            loc_76244C                                             ; +0xa0, 0x762404\nCMP             W2, #0x531                                             ; +0xa4, 0x762408\nB.EQ            loc_76244C                                             ; +0xa8, 0x76240c\nCMP             W2, #0x8E                                              ; +0xac, 0x762410\nB.EQ            loc_76244C                                             ; +0xb0, 0x762414\nLDR             W3, [X0,#0x388]                                        ; +0xb4, 0x762418\nMOV             W2, #0                                                 ; +0xb8, 0x76241c\nCMP             W3, #0x1E                                              ; +0xbc, 0x762420\nB.NE            loc_7623B8                                             ; +0xc0, 0x762424\nB               loc_7623E0                                             ; +0xc4, 0x762428\nB               _ZN23ChanceTriggerGameObject16containsTargetIDEi; ChanceTriggerGameObject::containsTargetID(int) ; +0xc8, 0x76242c\nCMP             W2, #0xE24                                             ; +0xcc, 0x762430\nB.EQ            loc_76246C                                             ; +0xd0, 0x762434\nB.LE            loc_762494                                             ; +0xd4, 0x762438\nCMP             W2, #0xE38                                             ; +0xd8, 0x76243c\nB.EQ            loc_76244C                                             ; +0xdc, 0x762440\nCMP             W2, #0xE3B                                             ; +0xe0, 0x762444\nB.NE            loc_762418                                             ; +0xe4, 0x762448\nLDR             W0, [X0,#0x5A8]                                        ; +0xe8, 0x76244c\nCMP             W0, W1                                                 ; +0xec, 0x762450\nCSET            W2, EQ                                                 ; +0xf0, 0x762454\nMOV             W0, W2                                                 ; +0xf4, 0x762458\nRET                                                                    ; +0xf8, 0x76245c\nMOV             W2, #0                                                 ; +0xfc, 0x762460\nMOV             W0, W2                                                 ; +0x100, 0x762464\nRET                                                                    ; +0x104, 0x762468\nLDR             W2, [X0,#0x5A8]                                        ; +0x108, 0x76246c\nCMP             W2, W1                                                 ; +0x10c, 0x762470\nB.EQ            loc_76248C                                             ; +0x110, 0x762474\nLDR             W0, [X0,#0x5AC]                                        ; +0x114, 0x762478\nCMP             W1, W0                                                 ; +0x118, 0x76247c\nCSET            W2, EQ                                                 ; +0x11c, 0x762480\nMOV             W0, W2                                                 ; +0x120, 0x762484\nRET                                                                    ; +0x124, 0x762488\nMOV             W2, #1                                                 ; +0x128, 0x76248c\nB               loc_7623B8                                             ; +0x12c, 0x762490\nCMP             W2, #0xE19                                             ; +0x130, 0x762494\nB.NE            loc_762418                                             ; +0x134, 0x762498\nB               loc_76244C                                             ; +0x138, 0x76249c", "xrefs": ["<???> @ 0x81a20"], "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"}