// // cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0x100216218 to 0x1002162ac (148 bytes) // // 1 xrefs: // > @ 0x1007c3308 // // 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 // void __fastcall cocos2d::extension::CCScale9Sprite::setSpriteFrame( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSpriteFrame *a2) { cocos2d::CCTexture2D *Texture; // x0 cocos2d::CCSpriteBatchNode *v5; // x21 _BOOL8 m_bRotated; // x19 double v7; // d0 _QWORD v8[2]; // [xsp+0h] [xbp-40h] BYREF _QWORD v9[2]; // [xsp+10h] [xbp-30h] BYREF Texture = cocos2d::CCSpriteFrame::getTexture(a2); v5 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u); sub_100022B98(v9, (__int64)&a2->m_obRect); m_bRotated = a2->m_bRotated; v7 = sub_100022B98(v8, (__int64)flt_10086CB20); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, _QWORD *, _BOOL8, _QWORD *, double))a1->updateWithBatchNode)( a1, v5, v9, m_bRotated, v8, v7); *(_QWORD *)&a1->m_insetRight = 0; *(_QWORD *)&a1->m_insetLeft = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source