//
// sub_1001D115C from 0x1001d115c to 0x1001d11b0 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x1001d02e0
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x1001d034c
//
// 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 11:00:23 +0000
//
__int64 __fastcall sub_1001D115C(__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;
}