//
// cocos2d::extension::CCScrollView::setZoomScaleInDuration from 0x180012c20 to 0x180012caf (143 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCScrollView::setZoomScale @ 0x180012c0d
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a410
//
// 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 __fastcall cocos2d::extension::CCScrollView::setZoomScaleInDuration(
cocos2d::extension::CCScrollView *this,
float a2,
float a3)
{
double v4; // xmm0_8
struct cocos2d::CCAction *v5; // rax
if ( a3 <= 0.0 )
{
cocos2d::extension::CCScrollView::setZoomScale(this, a2);
}
else if ( (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 168LL))(*((_QWORD *)this + 56)) != a2 )
{
v4 = (*(double (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 168LL))(*((_QWORD *)this + 56));
v5 = cocos2d::CCActionTween::create(a3, "zoomScale", *(float *)&v4, a2);
cocos2d::CCNode::runAction(this, v5);
}
}