// // CameraTriggerGameObject::create from 0x100392a50 to 0x100392b0c (188 bytes) // // 1 xrefs: // > GameObject::createWithKey @ 0x1002547b8 // // 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 // CameraTriggerGameObject *__fastcall CameraTriggerGameObject::create(const char *a1) { CameraTriggerGameObject *v2; // x19 v2 = (CameraTriggerGameObject *)operator new(0x748u); EffectGameObject::EffectGameObject(v2); v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CameraTriggerGameObject_vtbl *)&off_100804358; v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100804AA0; v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100804B20; *(_WORD *)&v2->m_exitStatic = 0; *(_QWORD *)&v2->m_followEasing = 1065353216; v2->m_smoothVelocity = 0; v2->m_velocityModifier = 0.0; v2->m_exitInstant = 0; v2->m_previewOpacity = 1.0; if ( EnhancedGameObject::init(v2, a1) ) { v2->m_classType = Effect; v2->m_triggerTargetColor.b = -1; *(_WORD *)&v2->m_triggerTargetColor.r = -1; v2->m_duration = 0.5; v2->m_legacyHSV = 1; cocos2d::CCObject::autorelease(v2); } else { ((void (__fastcall *)(CameraTriggerGameObject *))v2->~CameraTriggerGameObject_0)(v2); return nullptr; } return v2; }