//
// sub_140637FA0 from 0x140637fa0 to 0x140638037 (151 bytes)
//
// 2 xrefs:
// > ??> @ 0x140820a50
// > ??> @ 0x140930d70
//
// 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:31 +0000
//
cocos2d::CCSprite *__fastcall sub_140637FA0(cocos2d::CCSprite *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*(_QWORD *)Block = &KeyframeGameObject::`vftable';
*((_QWORD *)Block + 40) = &KeyframeGameObject::`vftable';
*((_QWORD *)Block + 43) = &KeyframeGameObject::`vftable';
v4 = *((cocos2d::CCObject **)Block + 232);
if ( v4 )
cocos2d::CCObject::release(v4);
*(_QWORD *)Block = &EffectGameObject::`vftable';
*((_QWORD *)Block + 40) = &EffectGameObject::`vftable';
*((_QWORD *)Block + 43) = &EffectGameObject::`vftable';
GameObject::dGameObject(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}