//
// GameObject::destroyObject from 0x35515c to 0x355170 (20 bytes)
//
// 5 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x345e10
// > PlayerObject::collidedWithObjectInternal @ 0x345fc8
// > PlayerObject::collidedWithObjectInternal @ 0x34647e
// > PlayerObject::collidedWithObjectInternal @ 0x346676
// > GJBaseGameLayer::destroyObject @ 0x49208a
//
// 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
//
void GameObject::destroyObject(GameObject *a1)
{
GameObject_vtbl *v1; // r3
v1 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_isDisabled = 1;
a1->m_isDisabled2 = 1;
v1->setOpacity(a1, 0);
}