// // cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets from 0xaa30c0 to 0xaa31bc (252 bytes) // // 1 xrefs: // > @ 0x7a2f8 // // 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 // cocos2d::extension::CCScale9Sprite *cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCRect a2) { const cocos2d::CCRect *v2; // x1 const cocos2d::CCRect *v3; // x23 cocos2d::extension::CCScale9Sprite *v5; // x19 cocos2d::CCSpriteBatchNode *scale9Image; // x25 bool (__fastcall *initWithBatchNode_0)(cocos2d::extension::CCScale9Sprite *__hidden, cocos2d::CCSpriteBatchNode *, cocos2d::CCRect, cocos2d::CCRect); // x24 cocos2d::CCRect v9; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCRect v10; // [xsp+68h] [xbp+68h] BYREF v3 = v2; v5 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u); cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v5); scale9Image = a1->_scale9Image; initWithBatchNode_0 = v5->initWithBatchNode_0; cocos2d::CCRect::CCRect(&v9, &a1->m_spriteRect); cocos2d::CCRect::CCRect(&v10, v3); if ( ((unsigned __int8 (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, cocos2d::CCRect *, cocos2d::CCRect *))initWithBatchNode_0)( v5, scale9Image, &v9, &v10) ) { cocos2d::CCObject::autorelease(v5); return v5; } else { v5->~CCScale9Sprite_0(v5); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source