//
// sub_1003BCE4C from 0x1003bce4c to 0x1003bcedc (144 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x1003bca84
//
// 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
//
_OWORD *__fastcall sub_1003BCE4C(__int64 **a1, __int64 a2, __int64 a3)
{
void **v5; // x0
_OWORD *v6; // x19
void **v7; // x22
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
v5 = (void **)sub_100009FDC((__int64)a1, &v9, a2);
v6 = *v5;
if ( !*v5 )
{
v7 = v5;
v6 = operator new(0x38u);
v6[2] = *(_OWORD *)a3;
*((_QWORD *)v6 + 6) = *(_QWORD *)(a3 + 16);
*(_QWORD *)a3 = 0;
*(_QWORD *)(a3 + 8) = 0;
*(_QWORD *)(a3 + 16) = 0;
sub_10000A0F0(a1, v9, v7, v6);
}
return v6;
}