// // RandTriggerGameObject::create from 0x1001c2f90 to 0x1001c3042 (178 bytes) // // 1 xrefs: // > GameObject::createWithKey @ 0x10059d649 // // 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 // RandTriggerGameObject *__fastcall RandTriggerGameObject::create() { RandTriggerGameObject *v0; // rbx v0 = (RandTriggerGameObject *)operator new(0x748u); EffectGameObject::EffectGameObject(v0); *(_OWORD *)&v0->m_chanceObjects.__begin_ = 0; v0->m_chanceObjects.__end_cap_.__value_ = nullptr; v0->ChanceTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RandTriggerGameObject_vtbl *)off_1008CE9F0; v0->ChanceTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008CF138; v0->ChanceTriggerGameObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008CF1B8; if ( EnhancedGameObject::init(v0, "edit_eAdvRandomBtn_001.png") ) { v0->m_classType = Effect; v0->m_triggerTargetColor.b = -1; *(_WORD *)&v0->m_triggerTargetColor.r = -1; v0->m_duration = 0.5; v0->m_legacyHSV = 1; cocos2d::CCObject::autorelease(v0); } else { ((void (__fastcall *)(RandTriggerGameObject *))v0->~RandTriggerGameObject_0)(v0); return nullptr; } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source