//
// sub_1800021D0 from 0x1800021d0 to 0x18000225e (142 bytes)
//
// 2 xrefs:
// > cocos2d::extension::AssetsManager::downLoad @ 0x18000240f
// > ??> @ 0x18004b108
//
// This function is hookable on this platform (idp: pc, 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 12:15:34 +0000
//
__int64 __fastcall sub_1800021D0(__int64 a1, double a2, double a3)
{
__int64 v4; // rbx
__int64 v5; // rax
v4 = sub_18001F040(0x10u);
*(_QWORD *)(v4 + 8) = 0;
*(_DWORD *)v4 = 2;
v5 = sub_18001F040(0x10u);
*(_DWORD *)(v5 + 4) = 0;
*(_QWORD *)(v5 + 8) = a1;
*(_DWORD *)v5 = (int)(a3 / a2 * 100.0);
*(_QWORD *)(v4 + 8) = v5;
sub_180002890(*(_QWORD *)(a1 + 176), v4);
return 0;
}