//
// cocos2d::extension::CCControlButton::setMargins from 0xd0c160 to 0xd0c184 (36 bytes)
//
// 3 xrefs:
// > ??> @ 0x910a8
// > ??> @ 0x150a9f0
// > ??> @ 0x1510170
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:00 +0000
//
__int64 __fastcall cocos2d::extension::CCControlButton::setMargins(
cocos2d::extension::CCControlButton *this,
int a2,
int a3)
{
__int64 v3; // x4
v3 = *(_QWORD *)this;
*((_DWORD *)this + 140) = a3;
*((_DWORD *)this + 141) = a2;
return (*(__int64 (**)(void))(v3 + 1312))();
}