//
// cocos2d::CCSprite::initWithSpriteFrame from 0xd861bc to 0xd86220 (100 bytes)
//
// 82 xrefs:
// > CCSpritePlus::createWithSpriteFrame @ 0x6c8924
// > CCSpriteCOpacity::createWithSpriteFrame @ 0x6c8ac4
// > ??> @ 0xe1e38
// > ??> @ 0x14139e8
// > ??> @ 0x1413fa8
// > ??> @ 0x1414d58
// > ??> @ 0x14175c8
// > ??> @ 0x1417b68
// > ??> @ 0x141b488
// > ??> @ 0x141bab8
// > ??> @ 0x141cf38
// > ??> @ 0x1421b68
// > ??> @ 0x1422118
// > ??> @ 0x1424658
// > ??> @ 0x1429038
// > ??> @ 0x14336a8
// > ??> @ 0x1433ea8
// > ??> @ 0x1434498
// > ??> @ 0x1434c78
// > ??> @ 0x1435488
// > ??> @ 0x143a418
// > ??> @ 0x14437e8
// > ??> @ 0x1443ff8
// > ??> @ 0x1444808
// > ??> @ 0x1445018
// > ??> @ 0x1445828
// > ??> @ 0x1446038
// > ??> @ 0x1446848
// > ??> @ 0x1447058
// > ??> @ 0x1447838
// > ??> @ 0x1448048
// > ??> @ 0x1448858
// > ??> @ 0x1449068
// > ??> @ 0x1449878
// > ??> @ 0x144a0c8
// > ??> @ 0x144a8d8
// > ??> @ 0x144b0e8
// > ??> @ 0x144b8f8
// > ??> @ 0x144c108
// > ??> @ 0x144c928
// > ??> @ 0x144d138
// > ??> @ 0x144d948
// > ??> @ 0x144e158
// > ??> @ 0x144e968
// > ??> @ 0x144f178
// > ??> @ 0x144f988
// > ??> @ 0x1450198
// > ??> @ 0x14509a8
// > ??> @ 0x14511b8
// > ??> @ 0x14519c8
// > ??> @ 0x14521d8
// > ??> @ 0x14529e8
// > ??> @ 0x14531f8
// > ??> @ 0x1453a08
// > ??> @ 0x1454218
// > ??> @ 0x1454a28
// > ??> @ 0x1455238
// > ??> @ 0x1455a48
// > ??> @ 0x1456258
// > ??> @ 0x1456a68
// > ??> @ 0x1457278
// > ??> @ 0x1457a88
// > ??> @ 0x1458298
// > ??> @ 0x1458aa8
// > ??> @ 0x14592d8
// > ??> @ 0x145b1c8
// > ??> @ 0x145b768
// > ??> @ 0x1477858
// > ??> @ 0x1479908
// > ??> @ 0x1486d68
// > ??> @ 0x1487318
// > ??> @ 0x1491c48
// > ??> @ 0x1497088
// > ??> @ 0x14995d8
// > ??> @ 0x14c1f08
// > ??> @ 0x14d9908
// > ??> @ 0x150cd28
// > ??> @ 0x1517be8
// > ??> @ 0x1518188
// > ??> @ 0x1518d08
// > ??> @ 0x152e768
// > ??> @ 0x152ff68
//
// 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 13:08:12 +0000
//
__int64 __fastcall cocos2d::CCSprite::initWithSpriteFrame(cocos2d::CCSprite *this, cocos2d::CCSpriteFrame *a2)
{
__int64 (__fastcall *v4)(cocos2d::CCSprite *, __int64, char *); // x21
__int64 Texture; // x0
v4 = *(__int64 (__fastcall **)(cocos2d::CCSprite *, __int64, char *))(*(_QWORD *)this + 1016LL);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
LODWORD(v4) = v4(this, Texture, (char *)a2 + 92);
(*(void (__fastcall **)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))(*(_QWORD *)this + 1160LL))(this, a2);
return (unsigned int)v4;
}