//
// cocos2d::extension::CCControlButton::setMargins from 0x5a10a6 to 0x5a10b6 (16 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::CCControlButton::setMargins(cocos2d::extension::CCControlButton *a1, int a2, int a3)
{
cocos2d::extension::CCControlButton_vtbl *v3; // r3
v3 = a1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
LODWORD(a1[1].m_fRotationY) = a3;
LODWORD(a1[1].m_fScaleX) = a2;
((void (*)(void))v3->needsLayout)();
}