{"type": "func", "start": 4109508, "end": 4109724, "name": "EffectGameObject::hasSpawnTargetID", "pseudocode": "// \n// EffectGameObject::hasSpawnTargetID from 0x3eb4c4 to 0x3eb59c (216 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 EffectGameObject::hasSpawnTargetID(EffectGameObject *a1, int a2)\n{\n  int m_objectID; // r3\n  bool v3; // zf\n  int v4; // r2\n  EffectGameObject_vtbl *m_targetGroupID; // r3\n  bool m_activateGroup; // r3\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_35;\n        if ( m_objectID != 1815 )\n        {\n          if ( m_objectID == 1611 )\n            goto LABEL_35;\nLABEL_34:\n          if ( a1->m_objectType == Collectible )\n          {\nLABEL_35:\n            m_activateGroup = a1->m_activateGroup;\n            if ( !m_activateGroup )\n              return m_activateGroup;\n            goto LABEL_36;\n          }\n          return 0;\n        }\nLABEL_36:\n        m_targetGroupID = (EffectGameObject_vtbl *)a1->m_targetGroupID;\n        return m_targetGroupID == (EffectGameObject_vtbl *)a2;\n      }\n      if ( m_objectID >= 1594 || m_objectID == 1268 || m_objectID == 1329 )\n        goto LABEL_36;\n      v3 = m_objectID == 142;\nLABEL_25:\n      if ( !v3 )\n        goto LABEL_34;\n      goto LABEL_36;\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          goto LABEL_36;\n        if ( m_objectID != 2063 )\n          goto LABEL_34;\n        if ( a1->m_targetGroupID != a2 )\n        {\n          m_targetGroupID = a1[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n          return m_targetGroupID == (EffectGameObject_vtbl *)a2;\n        }\n        return 1;\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 )\n          goto LABEL_36;\n        v4 = 3643;\n      }\n      else\n      {\n        v4 = 3609;\n      }\n      v3 = m_objectID == v4;\n      goto LABEL_25;\n    }\n  }\n  if ( a1->m_targetGroupID == a2 )\n    return 1;\n  m_targetGroupID = (EffectGameObject_vtbl *)a1->m_centerGroupID;\n  return m_targetGroupID == (EffectGameObject_vtbl *)a2;\n}", "assembly": "; \n; EffectGameObject::hasSpawnTargetID from 0x3eb4c4 to 0x3eb59c (216 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\nCMP             R1, #0                                                 ; +0x0, 0x3eb4c4\nBLE             loc_3EB596                                             ; +0x2, 0x3eb4c6\nLDR.W           R3, [R0,#0x374]                                        ; +0x4, 0x3eb4c8\nCMP.W           R3, #0x778                                             ; +0x8, 0x3eb4cc\nBEQ             loc_3EB558                                             ; +0xc, 0x3eb4d0\nBGT             loc_3EB512                                             ; +0xe, 0x3eb4d2\nMOVW            R2, #0x63B                                             ; +0x10, 0x3eb4d4\nCMP             R3, R2                                                 ; +0x14, 0x3eb4d8\nBGT             loc_3EB4F8                                             ; +0x16, 0x3eb4da\nMOVW            R2, #0x63A                                             ; +0x18, 0x3eb4dc\nCMP             R3, R2                                                 ; +0x1c, 0x3eb4e0\nBGE             loc_3EB58C                                             ; +0x1e, 0x3eb4e2\nMOVW            R2, #0x4F4                                             ; +0x20, 0x3eb4e4\nCMP             R3, R2                                                 ; +0x24, 0x3eb4e8\nBEQ             loc_3EB58C                                             ; +0x26, 0x3eb4ea\nMOVW            R2, #0x531                                             ; +0x28, 0x3eb4ec\nCMP             R3, R2                                                 ; +0x2c, 0x3eb4f0\nBEQ             loc_3EB58C                                             ; +0x2e, 0x3eb4f2\nCMP             R3, #0x8E                                              ; +0x30, 0x3eb4f4\nB               loc_3EB554                                             ; +0x32, 0x3eb4f6\nMOVW            R2, #0x713                                             ; +0x34, 0x3eb4f8\nCMP             R3, R2                                                 ; +0x38, 0x3eb4fc\nBEQ             loc_3EB586                                             ; +0x3a, 0x3eb4fe\nMOVW            R2, #0x717                                             ; +0x3c, 0x3eb500\nCMP             R3, R2                                                 ; +0x40, 0x3eb504\nBEQ             loc_3EB58C                                             ; +0x42, 0x3eb506\nMOVW            R2, #0x64B                                             ; +0x44, 0x3eb508\nCMP             R3, R2                                                 ; +0x48, 0x3eb50c\nBEQ             loc_3EB586                                             ; +0x4a, 0x3eb50e\nB               loc_3EB57E                                             ; +0x4c, 0x3eb510\nMOVW            R2, #0xE17                                             ; +0x4e, 0x3eb512\nCMP             R3, R2                                                 ; +0x52, 0x3eb516\nBEQ             loc_3EB57A                                             ; +0x54, 0x3eb518\nBGT             loc_3EB536                                             ; +0x56, 0x3eb51a\nMOVW            R2, #0x814                                             ; +0x58, 0x3eb51c\nCMP             R3, R2                                                 ; +0x5c, 0x3eb520\nBEQ             loc_3EB57A                                             ; +0x5e, 0x3eb522\nMOVW            R2, #0xE14                                             ; +0x60, 0x3eb524\nCMP             R3, R2                                                 ; +0x64, 0x3eb528\nBEQ             loc_3EB58C                                             ; +0x66, 0x3eb52a\nMOVW            R2, #0x80F                                             ; +0x68, 0x3eb52c\nCMP             R3, R2                                                 ; +0x6c, 0x3eb530\nBEQ             loc_3EB56C                                             ; +0x6e, 0x3eb532\nB               loc_3EB57E                                             ; +0x70, 0x3eb534\nMOVW            R2, #0xE24                                             ; +0x72, 0x3eb536\nCMP             R3, R2                                                 ; +0x76, 0x3eb53a\nBEQ             loc_3EB558                                             ; +0x78, 0x3eb53c\nBGT             loc_3EB546                                             ; +0x7a, 0x3eb53e\nMOVW            R2, #0xE19                                             ; +0x7c, 0x3eb540\nB               loc_3EB552                                             ; +0x80, 0x3eb544\nMOVW            R2, #0xE38                                             ; +0x82, 0x3eb546\nCMP             R3, R2                                                 ; +0x86, 0x3eb54a\nBEQ             loc_3EB58C                                             ; +0x88, 0x3eb54c\nMOVW            R2, #0xE3B                                             ; +0x8a, 0x3eb54e\nCMP             R3, R2                                                 ; +0x8e, 0x3eb552\nBNE             loc_3EB57E                                             ; +0x90, 0x3eb554\nB               loc_3EB58C                                             ; +0x92, 0x3eb556\nLDR.W           R3, [R0,#0x4FC]                                        ; +0x94, 0x3eb558\nCMP             R3, R1                                                 ; +0x98, 0x3eb55c\nBEQ             loc_3EB592                                             ; +0x9a, 0x3eb55e\nLDR.W           R3, [R0,#0x500]                                        ; +0x9c, 0x3eb560\nSUBS            R2, R3, R1                                             ; +0xa0, 0x3eb564\nNEGS            R3, R2                                                 ; +0xa2, 0x3eb566\nADCS            R3, R2                                                 ; +0xa4, 0x3eb568\nB               loc_3EB598                                             ; +0xa6, 0x3eb56a\nLDR.W           R3, [R0,#0x4FC]                                        ; +0xa8, 0x3eb56c\nCMP             R3, R1                                                 ; +0xac, 0x3eb570\nBEQ             loc_3EB592                                             ; +0xae, 0x3eb572\nLDR.W           R3, [R0,#0x668]                                        ; +0xb0, 0x3eb574\nB               loc_3EB564                                             ; +0xb4, 0x3eb578\nB.W             _ZN23ChanceTriggerGameObject16containsTargetIDEi; ChanceTriggerGameObject::containsTargetID(int) ; +0xb6, 0x3eb57a\nLDR.W           R3, [R0,#0x308]                                        ; +0xba, 0x3eb57e\nCMP             R3, #0x1E                                              ; +0xbe, 0x3eb582\nBNE             loc_3EB596                                             ; +0xc0, 0x3eb584\nLDRB.W          R3, [R0,#0x5A9]                                        ; +0xc2, 0x3eb586\nCBZ             R3, loc_3EB598                                         ; +0xc6, 0x3eb58a\nLDR.W           R3, [R0,#0x4FC]                                        ; +0xc8, 0x3eb58c\nB               loc_3EB564                                             ; +0xcc, 0x3eb590\nMOVS            R3, #1                                                 ; +0xce, 0x3eb592\nB               loc_3EB598                                             ; +0xd0, 0x3eb594\nMOVS            R3, #0                                                 ; +0xd2, 0x3eb596\nMOV             R0, R3                                                 ; +0xd4, 0x3eb598\nBX              LR                                                     ; +0xd6, 0x3eb59a", "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"}