//
// PlayerControlGameObject::create from 0x10039730c to 0x1003973b0 (164 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002549bc
//
// 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
//
PlayerControlGameObject *__fastcall PlayerControlGameObject::create()
{
PlayerControlGameObject *v0; // x19
v0 = (PlayerControlGameObject *)operator new(0x730u);
EffectGameObject::EffectGameObject(v0);
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (PlayerControlGameObject_vtbl *)&off_1008073B8;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100807B00;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100807B80;
*(_DWORD *)&v0->m_stopJump = 0;
if ( EnhancedGameObject::init(v0, "edit_ePlayerControlBtn_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 *)(PlayerControlGameObject *))v0->~PlayerControlGameObject_0)(v0);
return nullptr;
}
return v0;
}