//
// sub_1001525F0 from 0x1001525f0 to 0x100152644 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x10015166c
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x1001516d8
//
// 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 sub_1001525F0(__int64 a1, char **a2, __int128 *a3)
{
__int128 v5; // q0
sub_100009900((_QWORD *)a1, *a2);
if ( *((char *)a3 + 23) < 0 )
{
sub_1000097D0((_BYTE *)(a1 + 24), *(void **)a3, *((_QWORD *)a3 + 1));
}
else
{
v5 = *a3;
*(_QWORD *)(a1 + 40) = *((_QWORD *)a3 + 2);
*(_OWORD *)(a1 + 24) = v5;
}
return a1;
}