//
// cocos2d::extension::assetsManagerProgressFunc from 0xd09a58 to 0xd09ad0 (120 bytes)
//
// 3 xrefs:
// > ??> @ 0x72118
// > cocos2d::extension::AssetsManager::downLoad @ 0xd0a0f8
// > ??> @ 0x1542dc8
//
// 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 13:06:58 +0000
//
__int64 __fastcall cocos2d::extension::assetsManagerProgressFunc(
cocos2d::extension *this,
void *a2,
double a3,
double a4,
double a5,
double a6)
{
__int64 v7; // x19
__int64 v8; // x0
v7 = operator new(0x10u);
*(_DWORD *)v7 = 2;
*(_QWORD *)(v7 + 8) = 0;
v8 = operator new(0x10u);
*(_QWORD *)(v8 + 8) = this;
*(_DWORD *)v8 = (int)(a4 / a3 * 100.0);
*(_QWORD *)(v7 + 8) = v8;
cocos2d::extension::AssetsManager::Helper::sendMessage(*((_QWORD *)this + 17), v7);
return 0;
}