//
// sub_74AAF0 from 0x74aaf0 to 0x74aafe (14 bytes)
//
// 6 xrefs:
// > cocos2d::extension::AssetsManager::Helper::sendMessage @ 0x59ff96
// > cocos2d::extension::WsThreadHelper::sendMessageToUIThread @ 0x5ace46
// > cocos2d::extension::WsThreadHelper::sendMessageToSubThread @ 0x5ace76
// > cocos2d::CCIMEDispatcher::addDelegate @ 0x5f2b32
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0x5f4dc6
// > cocos2d::VolatileTexture::VolatileTexture @ 0x5f4fb0
//
// 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
//
_DWORD *__fastcall sub_74AAF0(_DWORD *result, int a2)
{
int v2; // r3
v2 = *(_DWORD *)(a2 + 4);
*result = a2;
result[1] = v2;
**(_DWORD **)(a2 + 4) = result;
*(_DWORD *)(a2 + 4) = result;
return result;
}