//
// cocos2d::CCSprite::initWithSpriteFrame from 0xb14ce0 to 0xb14d44 (100 bytes)
//
// 80 xrefs:
// > CCSpritePlus::createWithSpriteFrame @ 0x5a85e4
// > CCSpriteCOpacity::createWithSpriteFrame @ 0x5a8784
// > ??> @ 0xac758
// > ??> @ 0x11362e8
// > ??> @ 0x1136898
// > ??> @ 0x1137618
// > ??> @ 0x1139768
// > ??> @ 0x1139cf8
// > ??> @ 0x113cf78
// > ??> @ 0x113d598
// > ??> @ 0x113e9c8
// > ??> @ 0x1142ef8
// > ??> @ 0x1143498
// > ??> @ 0x11497c8
// > ??> @ 0x1152ad8
// > ??> @ 0x11532c8
// > ??> @ 0x11538a8
// > ??> @ 0x1154078
// > ??> @ 0x1154878
// > ??> @ 0x1159b18
// > ??> @ 0x1162228
// > ??> @ 0x1162a28
// > ??> @ 0x1163228
// > ??> @ 0x1163a28
// > ??> @ 0x1164228
// > ??> @ 0x1164a28
// > ??> @ 0x1165228
// > ??> @ 0x1165a28
// > ??> @ 0x11661f8
// > ??> @ 0x11669f8
// > ??> @ 0x11671f8
// > ??> @ 0x11679f8
// > ??> @ 0x11681f8
// > ??> @ 0x1168a38
// > ??> @ 0x1169238
// > ??> @ 0x1169a38
// > ??> @ 0x116a238
// > ??> @ 0x116aa38
// > ??> @ 0x116b248
// > ??> @ 0x116ba48
// > ??> @ 0x116c248
// > ??> @ 0x116ca48
// > ??> @ 0x116d248
// > ??> @ 0x116da48
// > ??> @ 0x116e248
// > ??> @ 0x116ea48
// > ??> @ 0x116f248
// > ??> @ 0x116fa48
// > ??> @ 0x1170248
// > ??> @ 0x1170a48
// > ??> @ 0x1171248
// > ??> @ 0x1171a48
// > ??> @ 0x1172248
// > ??> @ 0x1172a48
// > ??> @ 0x1173248
// > ??> @ 0x1173a48
// > ??> @ 0x1174248
// > ??> @ 0x1174a48
// > ??> @ 0x1175248
// > ??> @ 0x1175a48
// > ??> @ 0x1176248
// > ??> @ 0x1176a48
// > ??> @ 0x1177268
// > ??> @ 0x11790b8
// > ??> @ 0x1179648
// > ??> @ 0x11926d8
// > ??> @ 0x11943c8
// > ??> @ 0x11a0f98
// > ??> @ 0x11a1538
// > ??> @ 0x11aaab8
// > ??> @ 0x11b0478
// > ??> @ 0x11b2778
// > ??> @ 0x11d9ed8
// > ??> @ 0x11ed788
// > ??> @ 0x11f74d8
// > ??> @ 0x1202278
// > ??> @ 0x1202808
// > ??> @ 0x1203368
// > ??> @ 0x1218918
// > ??> @ 0x1219f48
//
// 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::initWithSpriteFrame(cocos2d::CCSprite *a1, cocos2d::CCSpriteFrame *a2)
{
bool (__fastcall *initWithTexture_0)(cocos2d::CCSprite *__hidden, cocos2d::CCTexture2D *, const cocos2d::CCRect *); // x21
cocos2d::CCTexture2D *Texture; // x0
initWithTexture_0 = a1->initWithTexture_0;
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
LOBYTE(initWithTexture_0) = initWithTexture_0(a1, Texture, &a2->m_obRect);
a1->setDisplayFrame(a1, a2);
return (char)initWithTexture_0;
}