//
// cocos2d::extension::assetsManagerProgressFunc from 0xa98138 to 0xa981b4 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0x52020
// > cocos2d::extension::AssetsManager::downLoad @ 0xa982d0
// > ??> @ 0x122aa50
//
// 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
//
__int64 __fastcall cocos2d::extension::assetsManagerProgressFunc(
cocos2d::extension *this,
void *a2,
double a3,
double a4,
double a5,
double a6)
{
__int64 v7; // x19
__int64 v8; // x3
__int64 v9; // x0
v7 = operator new(0x10u);
*(_DWORD *)v7 = 2;
*(_QWORD *)(v7 + 8) = 0;
v8 = operator new(0x10u);
v9 = *((_QWORD *)this + 7);
*(_QWORD *)(v8 + 8) = this;
*(_DWORD *)v8 = (int)(a4 / a3 * 100.0);
*(_QWORD *)(v7 + 8) = v8;
cocos2d::extension::AssetsManager::Helper::sendMessage(v9, v7);
return 0;
}