// // EffectGameObject::hasSpawnTargetID from 0x3eb4c4 to 0x3eb59c (216 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool EffectGameObject::hasSpawnTargetID(EffectGameObject *a1, int a2) { int m_objectID; // r3 bool v3; // zf int v4; // r2 EffectGameObject_vtbl *m_targetGroupID; // r3 bool m_activateGroup; // r3 if ( a2 <= 0 ) return 0; m_objectID = a1->m_objectID; if ( m_objectID != 1912 ) { if ( m_objectID <= 1912 ) { if ( m_objectID > 1595 ) { if ( m_objectID == 1811 ) goto LABEL_35; if ( m_objectID != 1815 ) { if ( m_objectID == 1611 ) goto LABEL_35; LABEL_34: if ( a1->m_objectType == Collectible ) { LABEL_35: m_activateGroup = a1->m_activateGroup; if ( !m_activateGroup ) return m_activateGroup; goto LABEL_36; } return 0; } LABEL_36: m_targetGroupID = (EffectGameObject_vtbl *)a1->m_targetGroupID; return m_targetGroupID == (EffectGameObject_vtbl *)a2; } if ( m_objectID >= 1594 || m_objectID == 1268 || m_objectID == 1329 ) goto LABEL_36; v3 = m_objectID == 142; LABEL_25: if ( !v3 ) goto LABEL_34; goto LABEL_36; } if ( m_objectID == 3607 ) return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2); if ( m_objectID <= 3607 ) { if ( m_objectID != 2068 ) { if ( m_objectID == 3604 ) goto LABEL_36; if ( m_objectID != 2063 ) goto LABEL_34; if ( a1->m_targetGroupID != a2 ) { m_targetGroupID = a1[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; return m_targetGroupID == (EffectGameObject_vtbl *)a2; } return 1; } return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2); } if ( m_objectID != 3620 ) { if ( m_objectID > 3620 ) { if ( m_objectID == 3640 ) goto LABEL_36; v4 = 3643; } else { v4 = 3609; } v3 = m_objectID == v4; goto LABEL_25; } } if ( a1->m_targetGroupID == a2 ) return 1; m_targetGroupID = (EffectGameObject_vtbl *)a1->m_centerGroupID; return m_targetGroupID == (EffectGameObject_vtbl *)a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source