//
// cocos2d::CCTextureCache::prepareAsyncLoading from 0x5f6240 to 0x5f6264 (36 bytes)
//
// 1 xrefs:
// > LoadingLayer::loadAssets @ 0x30b7c2
//
// 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 cocos2d::CCTextureCache::prepareAsyncLoading(cocos2d::CCTextureCache *a1)
{
cocos2d::SEL_MenuHandler v1; // 0:r3.4,4:^0.4
v1.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1->m_asyncLoadingPrepared;
if ( !a1->m_asyncLoadingPrepared )
{
a1->m_asyncLoadingPrepared = 1;
v1.adj = (size_t)v1.ptr;
cocos2d::CCTextureCache::addImageAsync(
a1,
"nofile",
(cocos2d::CCObject *)v1.ptr,
v1,
(int)v1.ptr,
(cocos2d::CCTexture2DPixelFormat)v1.ptr);
}
}