//
// sub_180079D80 from 0x180079d80 to 0x180079e2f (175 bytes)
//
// 3 xrefs:
// > cocos2d::CCFileUtils::CCFileUtils @ 0x180079e64
// > cocos2d::CCFileUtils::CCFileUtils @ 0x180079e72
// > ??> @ 0x1801b4be4
//
// 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
//
// Hidden C++ exception states: #wind=2
__int64 *__fastcall sub_180079D80(__int64 *a1, __int64 *a2)
{
unsigned __int64 v4; // rdx
__int64 v5; // rdi
__int64 v6; // rbp
__int64 i; // rbx
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v4 = (a2[1] - *a2) >> 5;
if ( v4 )
{
if ( v4 > 0x7FFFFFFFFFFFFFFLL )
std::vector::_Xlen();
sub_18007A190(a1, v4);
v5 = *a1;
v6 = a2[1];
for ( i = *a2; i != v6; i += 32 )
{
sub_180016C80(v5, i);
v5 += 32;
}
a1[1] = v5;
}
return a1;
}