// // ItemTriggerGameObject::create from 0x3ec4c8 to 0x3ec578 (176 bytes) // // 1 xrefs: // > GameObject::createWithKey @ 0x3624a2 // // 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 // ItemTriggerGameObject *ItemTriggerGameObject::create(const char *a1) { ItemTriggerGameObject *v2; // r4 ItemTriggerGameObject_vtbl *v3; // r3 int *v4; // r0 v2 = (ItemTriggerGameObject *)operator new(0x6A0u); EffectGameObject::EffectGameObject(v2); v2->m_targetItemMode = 1; v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ItemTriggerGameObject_vtbl *)&off_A5A518; v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A5A8BC; v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A5A8FC; v2->m_item1Mode = 0; v2->m_item2Mode = 0; v2->m_mod1 = 1.0; v2->m_mod2 = 1.0; v2->m_resultType3 = 3; v2->m_resultType2 = 1; v2->m_resultType1 = 0; v2->m_tolerance = 0.0; v2->m_roundType1 = 0; v2->m_roundType2 = 0; v2->m_signType1 = 0; v2->m_signType2 = 0; v2->m_persistent = 0; v2->m_targetAll = 0; v2->m_reset = 0; v2->m_timer = 0; if ( ItemTriggerGameObject::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = (int *)v2; v2 = nullptr; v3->~ItemTriggerGameObject_0((ItemTriggerGameObject *)v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source