//
// cocos2d::CCSprite::initWithFile from 0xb14c7c to 0xb14ce0 (100 bytes)
//
// 82 xrefs:
// > CCSpriteWithHue::create @ 0x5bc39c
// > CCSpriteGrayscale::create @ 0x5bd194
// > ??> @ 0x46e90
// > ??> @ 0x1136300
// > ??> @ 0x11368b0
// > ??> @ 0x1137630
// > ??> @ 0x1139780
// > ??> @ 0x1139d10
// > ??> @ 0x113cf90
// > ??> @ 0x113d5b0
// > ??> @ 0x113e9e0
// > ??> @ 0x1142f10
// > ??> @ 0x11434b0
// > ??> @ 0x1144e00
// > ??> @ 0x11453a0
// > ??> @ 0x11497e0
// > ??> @ 0x1152af0
// > ??> @ 0x11532e0
// > ??> @ 0x11538c0
// > ??> @ 0x1154090
// > ??> @ 0x1154890
// > ??> @ 0x1159b30
// > ??> @ 0x1162240
// > ??> @ 0x1162a40
// > ??> @ 0x1163240
// > ??> @ 0x1163a40
// > ??> @ 0x1164240
// > ??> @ 0x1164a40
// > ??> @ 0x1165240
// > ??> @ 0x1165a40
// > ??> @ 0x1166210
// > ??> @ 0x1166a10
// > ??> @ 0x1167210
// > ??> @ 0x1167a10
// > ??> @ 0x1168210
// > ??> @ 0x1168a50
// > ??> @ 0x1169250
// > ??> @ 0x1169a50
// > ??> @ 0x116a250
// > ??> @ 0x116aa50
// > ??> @ 0x116b260
// > ??> @ 0x116ba60
// > ??> @ 0x116c260
// > ??> @ 0x116ca60
// > ??> @ 0x116d260
// > ??> @ 0x116da60
// > ??> @ 0x116e260
// > ??> @ 0x116ea60
// > ??> @ 0x116f260
// > ??> @ 0x116fa60
// > ??> @ 0x1170260
// > ??> @ 0x1170a60
// > ??> @ 0x1171260
// > ??> @ 0x1171a60
// > ??> @ 0x1172260
// > ??> @ 0x1172a60
// > ??> @ 0x1173260
// > ??> @ 0x1173a60
// > ??> @ 0x1174260
// > ??> @ 0x1174a60
// > ??> @ 0x1175260
// > ??> @ 0x1175a60
// > ??> @ 0x1176260
// > ??> @ 0x1176a60
// > ??> @ 0x1177280
// > ??> @ 0x11790d0
// > ??> @ 0x1179660
// > ??> @ 0x11926f0
// > ??> @ 0x11943e0
// > ??> @ 0x11a0fb0
// > ??> @ 0x11a1550
// > ??> @ 0x11aaad0
// > ??> @ 0x11b0490
// > ??> @ 0x11b2790
// > ??> @ 0x11d9ef0
// > ??> @ 0x11ed7a0
// > ??> @ 0x11f74f0
// > ??> @ 0x1202290
// > ??> @ 0x1202820
// > ??> @ 0x1203380
// > ??> @ 0x1218930
// > ??> @ 0x1219f60
//
// 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
//
bool cocos2d::CCSprite::initWithFile(cocos2d::CCSprite *a1, const char *a2)
{
const cocos2d::CCRect *v2; // x2
const cocos2d::CCRect *v3; // x20
cocos2d::CCTextureCache *v5; // x0
cocos2d::CCTexture2D *v6; // x1
v3 = v2;
v5 = cocos2d::CCTextureCache::sharedTextureCache();
v6 = cocos2d::CCTextureCache::addImage(v5, a2, 0);
return v6 && a1->initWithTexture_0(a1, v6, v3);
}