//
// sub_1003C1770 from 0x1003c1770 to 0x1003c17fe (142 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092cda8
//
// 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_1003C1770(unsigned int *__p)
{
cocos2d::CCScriptEngineManager *v1; // rax
*(_QWORD *)__p = off_10092CD98;
*((_QWORD *)__p + 40) = off_10092D1E8;
if ( (__p[102] & 1) != 0 )
operator delete(*((void **)__p + 53));
*(_QWORD *)__p = off_10092B018;
*((_QWORD *)__p + 40) = off_10092B448;
if ( __p[92] )
{
v1 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v1 + 32LL))(*(_QWORD *)v1, __p[92]);
__p[92] = 0;
}
cocos2d::CCNodeRGBA::dCCNodeRGBA((__int64)__p);
operator delete(__p);
}