//
// cocos2d::extension::CCScrollView::setZoomScaleInDuration from 0x5a8630 to 0x5a86a0 (112 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCScrollView::setZoomScale @ 0x5a86a8
//
// 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::CCScrollView::setZoomScaleInDuration(cocos2d::extension::CCScrollView *a1, float a2, float a3)
{
const char *v6; // r0
cocos2d::CCAction *v7; // r1
float savedregs; // [sp+0h] [bp+0h]
if ( a3 <= 0.0 )
{
cocos2d::extension::CCScrollView::setZoomScale(a1, a2);
}
else if ( a1->m_pContainer->getScale(a1->m_pContainer) != a2 )
{
v6 = (const char *)((int (__fastcall *)(cocos2d::CCNode *))a1->m_pContainer->getScale)(a1->m_pContainer);
v7 = (cocos2d::CCAction *)cocos2d::CCActionTween::create(
(cocos2d::CCActionTween *)LODWORD(a3),
COERCE_FLOAT("zoomScale"),
v6,
a2,
savedregs);
cocos2d::CCNode::runAction(a1, v7);
}
}