//
// cocos2d::CCSprite::initWithSpriteFrame from 0x100237b14 to 0x100237b78 (100 bytes)
//
// 74 xrefs:
// > CCSpritePlus::createWithSpriteFrame @ 0x1001b7c18
// > ??> @ 0x1007636b8
// > ??> @ 0x1007737e8
// > ??> @ 0x100774120
// > ??> @ 0x100775288
// > ??> @ 0x100777e38
// > ??> @ 0x10077b5d8
// > ??> @ 0x10077bb78
// > ??> @ 0x100785e28
// > ??> @ 0x100790bc8
// > ??> @ 0x1007999b8
// > ??> @ 0x1007b3380
// > ??> @ 0x1007b8e40
// > ??> @ 0x1007b9f90
// > ??> @ 0x1007c3fb0
// > ??> @ 0x1007c47e8
// > ??> @ 0x1007c76f0
// > ??> @ 0x1007c81d0
// > ??> @ 0x1007c99f0
// > ??> @ 0x1007c9fa8
// > ??> @ 0x1007cfc80
// > ??> @ 0x1007d0468
// > ??> @ 0x1007d0c78
// > ??> @ 0x1007e5440
// > ??> @ 0x1007ea468
// > ??> @ 0x1007eaa20
// > ??> @ 0x1007ec650
// > ??> @ 0x1007ecbd8
// > ??> @ 0x1007efa00
// > ??> @ 0x1007f54e8
// > ??> @ 0x1007f5d20
// > ??> @ 0x1007f6518
// > ??> @ 0x1007f6d10
// > ??> @ 0x1007f7508
// > ??> @ 0x1007f7d00
// > ??> @ 0x1007f84f8
// > ??> @ 0x1007f8cf0
// > ??> @ 0x1007f94d8
// > ??> @ 0x1007f9ce8
// > ??> @ 0x1007fa550
// > ??> @ 0x1007fad60
// > ??> @ 0x1007fb570
// > ??> @ 0x1007fbd80
// > ??> @ 0x1007fc590
// > ??> @ 0x1007fcda0
// > ??> @ 0x1007fd5b0
// > ??> @ 0x1007fddc0
// > ??> @ 0x1007fe5d0
// > ??> @ 0x1007fede0
// > ??> @ 0x1007ff608
// > ??> @ 0x1007ffe60
// > ??> @ 0x100800688
// > ??> @ 0x100800eb0
// > ??> @ 0x1008016d8
// > ??> @ 0x100801f00
// > ??> @ 0x100802710
// > ??> @ 0x100802f20
// > ??> @ 0x100803730
// > ??> @ 0x100803f40
// > ??> @ 0x100804750
// > ??> @ 0x100804f60
// > ??> @ 0x100805770
// > ??> @ 0x100805f80
// > ??> @ 0x100806790
// > ??> @ 0x100806fa0
// > ??> @ 0x1008077b0
// > ??> @ 0x100807fc0
// > ??> @ 0x1008087d0
// > ??> @ 0x100808fe0
// > ??> @ 0x1008097f0
// > ??> @ 0x10080a000
// > ??> @ 0x10080af88
// > ??> @ 0x100810f98
// > ??> @ 0x100816320
//
// 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 __fastcall cocos2d::CCSprite::initWithSpriteFrame(cocos2d::CCSprite *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCTexture2D *Texture; // x0
char v5; // w21
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v5 = ((__int64 (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCTexture2D *, cocos2d::CCRect *))a1->initWithTexture_0)(
a1,
Texture,
&a2->m_obRect);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))a1->setDisplayFrame)(a1, a2);
return v5;
}