//
// KeyframeGameObject::init from 0x1404b5430 to 0x1404b54b1 (129 bytes)
//
// 4 xrefs:
// > GameObject::createWithKey @ 0x14018c7b4
// > GameObject::createWithKey @ 0x14018c7a1
// > ??> @ 0x14060ecf0
// > ??> @ 0x1406dcbc0
//
// 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 KeyframeGameObject::init(KeyframeGameObject *a1)
{
__int64 v2; // rcx
cocos2d::CCArray *v3; // rax
a1->m_eObjType = GameObjectObjectType;
if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, "keyframeIcon_001.png") )
return 0;
GameObject::commonSetup(a1);
a1->m_bUnkBool2 = 0;
a1->m_classType = Effect;
*(_WORD *)&a1->m_triggerTargetColor.r = -1;
a1->m_triggerTargetColor.b = -1;
a1->m_duration = 0.5;
a1->m_legacyHSV = 1;
v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(v2);
a1->m_shadowObjects = v3;
cocos2d::CCObject::retain(v3);
return 1;
}