// // cocos2d::extension::CCScale9Sprite::setCapInsets from 0x1003f5c70 to 0x1003f5d0a (154 bytes) // // 1 xrefs: // > @ 0x100932fa8 // // 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) { unsigned __int64 *v2; // rsi cocos2d::CCSpriteBatchNode *scale9Image; // r12 _BOOL4 m_bSpriteFrameRotated; // ebx double v6; // xmm0_8 __m128 v7; // [rsp-58h] [rbp-58h] BYREF __m128 v8; // [rsp-48h] [rbp-48h] BYREF _QWORD v9[7]; // [rsp-38h] [rbp-38h] BYREF if ( a1->_scale9Image ) { sub_10028CFC0(v9, &a1->m_obContentSize); scale9Image = a1->_scale9Image; sub_10028D180(&v8, (unsigned __int64 *)&a1->m_spriteRect); m_bSpriteFrameRotated = a1->m_bSpriteFrameRotated; v6 = sub_10028D180(&v7, v2); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, _BOOL4, __m128 *, double, double))a1->updateWithBatchNode)( a1, scale9Image, &v8, m_bSpriteFrameRotated, &v7, v6, *(double *)&a2.size); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD *))a1->setContentSize)(a1, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source