//
// GJTransformControl::scaleButtons from 0x14012b5c0 to 0x14012b672 (178 bytes)
//
// 6 xrefs:
// > EditorUI::updateZoom @ 0x1401128ae
// > EditorUI::activateTransformControl @ 0x1401152e2
// > GJTransformControl::init @ 0x14012b35a
// > ??> @ 0x140670a50
// > ??> @ 0x140670aa8
// > ??> @ 0x1406c9ba0
//
// 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 GJTransformControl::scaleButtons(GJTransformControl *a1, float a2)
{
cocos2d::CCArray *m_warpSprites; // rax
cocos2d::ccArray *data; // rbx
__int64 num; // rax
cocos2d::CCObject **arr; // rbx
cocos2d::CCObject **i; // rsi
cocos2d::CCNode *v8; // rax
m_warpSprites = a1->m_warpSprites;
if ( m_warpSprites )
{
data = m_warpSprites->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
for ( i = &arr[num - 1]; arr <= i; ++arr )
{
if ( !*arr )
break;
((void (__fastcall *)(cocos2d::CCObject *))(*arr)->__vftable[2].isEqual)(*arr);
}
}
}
v8 = a1->m_warpLockButton->getNormalImage(a1->m_warpLockButton);
((void (__fastcall *)(cocos2d::CCNode *))v8->setScale_0)(v8);
}