// // CCSpritePlus::createWithSpriteFrame from 0x6c88a8 to 0x6c8964 (188 bytes) // // 2 xrefs: // > CCSpritePlus::createWithSpriteFrameName @ 0x6c8980 // > @ 0xfdba0 // // 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 12:51:22 +0000 // __int64 __fastcall CCSpritePlus::createWithSpriteFrame(CCSpritePlus *this, cocos2d::CCSpriteFrame *a2) { __int64 v3; // x19 __int64 (__fastcall **v4)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // x1 v3 = operator new(0x270u); cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v3); *(_QWORD *)(v3 + 600) = 0; v4 = &off_1421760; *(_QWORD *)v3 = &off_1421760; *(_QWORD *)(v3 + 320) = &off_1421C58; *(_QWORD *)(v3 + 344) = &off_1421CD8; *(_QWORD *)(v3 + 608) = 0; *(_BYTE *)(v3 + 616) = 0; *(_BYTE *)(v3 + 617) = 0; *(_BYTE *)(v3 + 618) = 0; if ( !this ) goto LABEL_2; if ( !(unsigned __int8)cocos2d::CCSprite::initWithSpriteFrame((cocos2d::CCSprite *)v3, this) ) { v4 = *(__int64 (__fastcall ***)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *))v3; LABEL_2: ((void (__fastcall *)(__int64))v4[2])(v3); return 0; } cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); return v3; }