//
// cocos2d::CCSprite::initWithSpriteFrame from 0x100288a70 to 0x100288abb (75 bytes)
//
// 80 xrefs:
// > CCSpritePlus::createWithSpriteFrame @ 0x100481a94
// > CCSpritePlus::createWithSpriteFrameName @ 0x100481b47
// > CCSpriteCOpacity::createWithSpriteFrame @ 0x100482290
// > CCSpriteCOpacity::createWithSpriteFrameName @ 0x100482333
// > ??> @ 0x1008b41b8
// > ??> @ 0x1008b81a0
// > ??> @ 0x1008c4460
// > ??> @ 0x1008c4c98
// > ??> @ 0x1008c5490
// > ??> @ 0x1008c5c88
// > ??> @ 0x1008c6480
// > ??> @ 0x1008c6c78
// > ??> @ 0x1008c7470
// > ??> @ 0x1008c7c68
// > ??> @ 0x1008c8450
// > ??> @ 0x1008c8c60
// > ??> @ 0x1008c94d8
// > ??> @ 0x1008c9ce8
// > ??> @ 0x1008ca4f8
// > ??> @ 0x1008cad08
// > ??> @ 0x1008cb518
// > ??> @ 0x1008cbd28
// > ??> @ 0x1008cc538
// > ??> @ 0x1008ccd48
// > ??> @ 0x1008cd558
// > ??> @ 0x1008cdd68
// > ??> @ 0x1008ce590
// > ??> @ 0x1008cede8
// > ??> @ 0x1008cf610
// > ??> @ 0x1008cfe38
// > ??> @ 0x1008d0660
// > ??> @ 0x1008d0e88
// > ??> @ 0x1008d1698
// > ??> @ 0x1008d1ea8
// > ??> @ 0x1008d26b8
// > ??> @ 0x1008d2ec8
// > ??> @ 0x1008d36d8
// > ??> @ 0x1008d3ee8
// > ??> @ 0x1008d46f8
// > ??> @ 0x1008d4f08
// > ??> @ 0x1008d5718
// > ??> @ 0x1008d5f28
// > ??> @ 0x1008d6738
// > ??> @ 0x1008d6f48
// > ??> @ 0x1008d7758
// > ??> @ 0x1008d7f68
// > ??> @ 0x1008d8778
// > ??> @ 0x1008d8f88
// > ??> @ 0x1008dd568
// > ??> @ 0x1008e0a98
// > ??> @ 0x1008f0710
// > ??> @ 0x1008f3aa0
// > ??> @ 0x100904e98
// > ??> @ 0x100909a70
// > ??> @ 0x10090baa8
// > ??> @ 0x100913550
// > ??> @ 0x1009147f8
// > ??> @ 0x100915388
// > ??> @ 0x10091c118
// > ??> @ 0x10091c6a0
// > ??> @ 0x10091daf8
// > ??> @ 0x10091e098
// > ??> @ 0x100923730
// > ??> @ 0x1009280c8
// > ??> @ 0x10092ae20
// > ??> @ 0x100933af8
// > ??> @ 0x100934320
// > ??> @ 0x10093c9c0
// > ??> @ 0x10093cf70
// > ??> @ 0x100942200
// > ??> @ 0x10094e918
// > ??> @ 0x1009717e0
// > ??> @ 0x100971fc8
// > ??> @ 0x1009727d8
// > ??> @ 0x100974a40
// > ??> @ 0x100974ff8
// > ??> @ 0x1009755b0
// > ??> @ 0x100985628
// > ??> @ 0x100991a10
// > ??> @ 0x100996238
//
// 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; // rax
char v4; // r15
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v4 = ((__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 v4;
}