// // cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 from 0x100215d04 to 0x100215d88 (132 bytes) // // 1 xrefs: // > @ 0x1007c32e0 // // 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::extension::CCScale9Sprite::initWithSpriteFrame_1( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSpriteFrame *a2, cocos2d::CCRect a3) { __int64 v3; // x2 __int64 v4; // x19 cocos2d::CCTexture2D *Texture; // x0 cocos2d::CCSpriteBatchNode *v8; // x22 _BOOL8 m_bRotated; // x20 double v10; // d0 _QWORD v12[2]; // [xsp+0h] [xbp-40h] BYREF _QWORD v13[2]; // [xsp+10h] [xbp-30h] BYREF v4 = v3; Texture = cocos2d::CCSpriteFrame::getTexture(a2); v8 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u); sub_100022B98(v13, (__int64)&a2->m_obRect); m_bRotated = a2->m_bRotated; v10 = sub_100022B98(v12, v4); return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, _QWORD *, _BOOL8, _QWORD *, double))a1->initWithBatchNode)( a1, v8, v13, m_bRotated, v12, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source