// // cocos2d::extension::CCScale9Sprite::setCapInsets from 0x100215ed8 to 0x100215f70 (152 bytes) // // 1 xrefs: // > @ 0x1007c3268 // // 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::setCapInsets( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCRect a2) { __int64 v2; // x1 __int64 v3; // x20 cocos2d::CCSpriteBatchNode *scale9Image; // x21 _BOOL8 m_bSpriteFrameRotated; // x22 double v7; // d0 _QWORD v8[2]; // [xsp+8h] [xbp-48h] BYREF _QWORD v9[2]; // [xsp+18h] [xbp-38h] BYREF __int64 v10; // [xsp+28h] [xbp-28h] BYREF if ( a1->_scale9Image ) { v3 = v2; sub_100022AFC(&v10, (double *)&a1->m_obContentSize); scale9Image = a1->_scale9Image; sub_100022B98(v9, (__int64)&a1->m_spriteRect); m_bSpriteFrameRotated = a1->m_bSpriteFrameRotated; v7 = sub_100022B98(v8, v3); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, _QWORD *, _BOOL8, _QWORD *, double))a1->updateWithBatchNode)( a1, scale9Image, v9, m_bSpriteFrameRotated, v8, v7); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64 *))a1->setContentSize)(a1, &v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source