//
// KeyframeGameObject::init from 0x1406567e0 to 0x140656861 (129 bytes)
//
// 4 xrefs:
// > GameObject::createWithKey @ 0x1402898f4
// > GameObject::createWithKey @ 0x1402898e1
// > ??> @ 0x140820a90
// > ??> @ 0x140931790
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:35:45 +0000
//
char __fastcall KeyframeGameObject::init(__int64 a1)
{
__int64 v2; // rcx
cocos2d::CCObject *v3; // rax
*(_DWORD *)(a1 + 28) = 13;
if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, "keyframeIcon_001.png") )
return 0;
GameObject::commonSetup(a1);
*(_BYTE *)(a1 + 313) = 0;
*(_DWORD *)(a1 + 1256) = 1;
*(_WORD *)(a1 + 1465) = -1;
*(_BYTE *)(a1 + 1467) = -1;
*(_DWORD *)(a1 + 1468) = 1056964608;
*(_BYTE *)(a1 + 1652) = 1;
v3 = (cocos2d::CCObject *)cocos2d::CCArray::create(v2);
*(_QWORD *)(a1 + 1856) = v3;
cocos2d::CCObject::retain(v3);
return 1;
}