//
// cocos2d::CCTextureCache::prepareAsyncLoading from 0x10013bde4 to 0x10013be18 (52 bytes)
//
// 1 xrefs:
// > LoadingLayer::loadAssets @ 0x10026f154
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:59:29 +0000
//
__int64 __fastcall cocos2d::CCTextureCache::prepareAsyncLoading(__int64 result)
{
if ( (*(_BYTE *)(result + 64) & 1) == 0 )
{
*(_BYTE *)(result + 64) = 1;
return cocos2d::CCTextureCache::addImageAsync();
}
return result;
}