//
// sub_CD8D88 from 0xcd8d88 to 0xcd8da4 (28 bytes)
//
// 6 xrefs:
// > cocos2d::extension::AssetsManager::Helper::sendMessage @ 0xa9811c
// > cocos2d::extension::WsThreadHelper::sendMessageToUIThread @ 0xaadcb4
// > cocos2d::extension::WsThreadHelper::sendMessageToSubThread @ 0xaadd10
// > cocos2d::CCIMEDispatcher::addDelegate @ 0xb2f698
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0xb34250
// > cocos2d::VolatileTexture::VolatileTexture @ 0xb34620
//
// 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
//
_QWORD *__fastcall sub_CD8D88(_QWORD *result, __int64 a2)
{
result[1] = *(_QWORD *)(a2 + 8);
*result = a2;
**(_QWORD **)(a2 + 8) = result;
*(_QWORD *)(a2 + 8) = result;
return result;
}