//
// GJTransformControl::scaleButtons from 0x695f0c to 0x695fc4 (184 bytes)
//
// 4 xrefs:
// > EditorUI::updateZoom @ 0x696174
// > GJTransformControl::init @ 0x696874
// > EditorUI::activateTransformControl @ 0x6b662c
// > ??> @ 0x33b10
//
// 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; // x0
cocos2d::ccArray *data; // x1
cocos2d::CCObject **arr; // x19
cocos2d::CCObject **v7; // x21
cocos2d::CCObject *v8; // x0
float v9; // s8
cocos2d::CCNode *v10; // x0
m_warpSprites = a1->m_warpSprites;
if ( m_warpSprites )
{
data = m_warpSprites->data;
if ( data->num )
{
arr = data->arr;
v7 = &arr[data->num - 1];
if ( arr <= v7 )
{
v8 = *arr;
if ( *arr )
{
v9 = a2 * 0.7;
do
{
++arr;
((void (__fastcall *)(cocos2d::CCObject *, float))v8->__vftable[2].copyWithZone)(v8, v9 * a1->m_buttonScale);
if ( v7 < arr )
break;
v8 = *arr;
}
while ( *arr );
}
}
}
}
v10 = a1->m_warpLockButton->getNormalImage(a1->m_warpLockButton);
v10->setScale(v10, a2);
}