//
// cocos2d::CCTextureCache::prepareAsyncLoading from 0x802cc0 to 0x802ce4 (36 bytes)
//
// 1 xrefs:
// > LoadingLayer::loadAssets @ 0x3fbc5e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:21 +0000
//
unsigned __int8 *__fastcall cocos2d::CCTextureCache::prepareAsyncLoading(unsigned __int8 *this)
{
int v1; // r3
v1 = *(this + 56);
if ( !*(this + 56) )
{
*(this + 56) = 1;
return (unsigned __int8 *)cocos2d::CCTextureCache::addImageAsync(
(cocos2d::CCObject *)this,
"nofile",
v1,
(void (__fastcall *)(int, int))v1,
v1,
v1,
v1);
}
return this;
}