// // cocos2d::extension::CCScale9Sprite::setPreferredSize from 0x5a55a4 to 0x5a55c0 (28 bytes) // // 0 xrefs: // // 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 cocos2d::extension::CCScale9Sprite::setPreferredSize(cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSize a2) { float width; // r5 width = a2.width; ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _DWORD, _DWORD))a1->setContentSize)( a1, LODWORD(a2.width), LODWORD(a2.height)); cocos2d::CCSize::operator=(&a1->m_preferredSize, LODWORD(width)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source