//
// cocos2d::CCSprite::initWithFile from 0x1002d44c0 to 0x1002d4524 (100 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008aec90
// > ??> @ 0x1008c0190
// > ??> @ 0x1008c0ae8
// > ??> @ 0x1008c1cf8
// > ??> @ 0x1008c42c0
// > ??> @ 0x1008c7d10
// > ??> @ 0x1008c82c0
// > ??> @ 0x1008d4580
// > ??> @ 0x1008e0088
// > ??> @ 0x1008eedf8
// > ??> @ 0x100904170
// > ??> @ 0x100904738
// > ??> @ 0x10090ab30
// > ??> @ 0x100910960
// > ??> @ 0x100911b70
// > ??> @ 0x10091c4e8
// > ??> @ 0x10091cd30
// > ??> @ 0x10091fd38
// > ??> @ 0x100920838
// > ??> @ 0x1009220b8
// > ??> @ 0x100922680
// > ??> @ 0x100928768
// > ??> @ 0x100928f60
// > ??> @ 0x100929780
// > ??> @ 0x10093cd60
// > ??> @ 0x1009425a8
// > ??> @ 0x100942b70
// > ??> @ 0x1009448a0
// > ??> @ 0x100944e38
// > ??> @ 0x100947da8
// > ??> @ 0x10094d740
// > ??> @ 0x10094df88
// > ??> @ 0x10094e790
// > ??> @ 0x10094ef98
// > ??> @ 0x10094f7a0
// > ??> @ 0x10094ffa8
// > ??> @ 0x1009507b0
// > ??> @ 0x100950fb8
// > ??> @ 0x1009517b0
// > ??> @ 0x100951fd0
// > ??> @ 0x100952848
// > ??> @ 0x100953068
// > ??> @ 0x100953888
// > ??> @ 0x1009540a8
// > ??> @ 0x1009548c8
// > ??> @ 0x1009550e8
// > ??> @ 0x100955908
// > ??> @ 0x100956128
// > ??> @ 0x100956948
// > ??> @ 0x100957168
// > ??> @ 0x1009579a0
// > ??> @ 0x100958208
// > ??> @ 0x100958a40
// > ??> @ 0x100959278
// > ??> @ 0x100959ab0
// > ??> @ 0x10095a2e8
// > ??> @ 0x10095ab08
// > ??> @ 0x10095b328
// > ??> @ 0x10095bb48
// > ??> @ 0x10095c368
// > ??> @ 0x10095cb88
// > ??> @ 0x10095d3a8
// > ??> @ 0x10095dbc8
// > ??> @ 0x10095e3e8
// > ??> @ 0x10095ec08
// > ??> @ 0x10095f428
// > ??> @ 0x10095fc48
// > ??> @ 0x100960468
// > ??> @ 0x100960c88
// > ??> @ 0x1009614a8
// > ??> @ 0x100961cc8
// > ??> @ 0x1009624e8
// > ??> @ 0x100962d08
// > ??> @ 0x100963cc0
// > ??> @ 0x10096a0d8
// > ??> @ 0x10096e108
// > ??> @ 0x10098cac0
//
// 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:02:40 +0000
//
_DWORD *__fastcall cocos2d::CCSprite::initWithFile(__int64 a1, char *a2, __int64 a3)
{
void *v6; // x0
_DWORD *result; // x0
v6 = cocos2d::CCTextureCache::sharedTextureCache();
result = cocos2d::CCTextureCache::addImage((__int64)v6, a2);
if ( result )
return (_DWORD *)(*(__int64 (__fastcall **)(__int64, _DWORD *, __int64))(*(_QWORD *)a1 + 1016LL))(a1, result, a3);
return result;
}