//
// cocos2d::extension::CCScrollView::setZoomScaleInDuration from 0x7ae320 to 0x7ae390 (112 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCScrollView::setZoomScale @ 0x7ae398
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:04 +0000
//
float __fastcall cocos2d::extension::CCScrollView::setZoomScaleInDuration(
cocos2d::extension::CCScrollView *this,
float a2,
cocos2d::CCActionTween *a3)
{
float result; // r0
const char *v7; // r0
cocos2d::CCAction *v8; // r1
float savedregs; // [sp+0h] [bp+0h]
if ( *(float *)&a3 <= 0.0 )
return cocos2d::extension::CCScrollView::setZoomScale(this, a2);
result = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 84))(*((_DWORD *)this + 87));
if ( result != a2 )
{
v7 = (const char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 84))(*((_DWORD *)this + 87));
v8 = (cocos2d::CCAction *)cocos2d::CCActionTween::create(a3, COERCE_FLOAT("zoomScale"), v7, a2, savedregs);
return COERCE_FLOAT(cocos2d::CCNode::runAction(this, v8));
}
return result;
}