//
// sub_18006ED80 from 0x18006ed80 to 0x18006eec8 (328 bytes)
//
// 3 xrefs:
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x1800713d6
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x180071575
// > ??> @ 0x1801be35c
//
// 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 11:21:55 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall sub_18006ED80(__int64 *a1, __int64 a2, __int64 a3)
{
__int64 v6; // rax
__int64 v7; // rbx
char v8; // al
__int64 v9; // rbx
__int64 v10; // rax
__int64 v12; // [rsp+30h] [rbp-48h]
__int128 v13; // [rsp+40h] [rbp-38h] BYREF
_BYTE v14[32]; // [rsp+50h] [rbp-28h] BYREF
v6 = sub_18006EB20(a1, (__int64)v14, (const void **)a3);
v13 = *(_OWORD *)v6;
v12 = *(_QWORD *)(v6 + 16);
v7 = v12;
if ( *(_BYTE *)(v12 + 25) || (v8 = sub_180017F50((__int64)a1, (const void **)a3, (const void **)(v12 + 32))) != 0 )
{
if ( a1[1] == 0x2AAAAAAAAAAAAAALL )
std::vector::_Xlen();
v9 = *a1;
v10 = sub_1800E4AC0(0x60u);
*(_OWORD *)(v10 + 32) = 0;
*(_QWORD *)(v10 + 48) = 0;
*(_QWORD *)(v10 + 56) = 0;
*(_OWORD *)(v10 + 32) = *(_OWORD *)a3;
*(_OWORD *)(v10 + 48) = *(_OWORD *)(a3 + 16);
*(_QWORD *)(a3 + 16) = 0;
*(_QWORD *)(a3 + 24) = 15;
*(_BYTE *)a3 = 0;
*(_OWORD *)(v10 + 64) = 0;
*(_QWORD *)(v10 + 80) = 0;
*(_QWORD *)(v10 + 88) = 0;
*(_OWORD *)(v10 + 64) = *(_OWORD *)(a3 + 32);
*(_OWORD *)(v10 + 80) = *(_OWORD *)(a3 + 48);
*(_QWORD *)(a3 + 48) = 0;
*(_QWORD *)(a3 + 56) = 15;
*(_BYTE *)(a3 + 32) = 0;
*(_QWORD *)v10 = v9;
*(_QWORD *)(v10 + 8) = v9;
*(_QWORD *)(v10 + 16) = v9;
*(_WORD *)(v10 + 24) = 0;
v7 = sub_18000F740(a1, (__int64)&v13, v10);
v8 = 1;
}
*(_QWORD *)a2 = v7;
*(_BYTE *)(a2 + 8) = v8;
return a2;
}