//
// sub_1004780C0 from 0x1004780c0 to 0x100478103 (67 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093b1b0
//
// 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 __fastcall sub_1004780C0(_QWORD *__p)
{
cocos2d::CCObject *v2; // rdi
unsigned int v3; // edi
*__p = off_10093B1A0;
v2 = (cocos2d::CCObject *)__p[12];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((_DWORD *)__p + 18);
if ( v3 )
cocos2d::ccGLDeleteTexture(v3);
cocos2d::CCObject::dCCObject(__p);
operator delete(__p);
}