//
// cocos2d::extension::CCScrollView::pause from 0xd16d04 to 0xd16d7c (120 bytes)
//
// 1 xrefs:
// > ??> @ 0xa7998
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:06 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::pause(cocos2d::CCNode **this, cocos2d::CCObject *a2)
{
__int64 result; // x0
unsigned int *v4; // x1
__int64 *v5; // x19
__int64 *i; // x20
cocos2d::CCNode::pauseSchedulerAndActions(*(this + 55));
result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 55) + 488LL))(*(this + 55));
if ( result )
{
v4 = *(unsigned int **)(result + 56);
result = *v4;
if ( (_DWORD)result )
{
v5 = *((__int64 **)v4 + 2);
for ( i = &v5[(unsigned int)result - 1];
i >= v5;
result = cocos2d::CCNode::pauseSchedulerAndActions((cocos2d::CCNode *)result) )
{
result = *v5;
if ( !*v5 )
break;
++v5;
}
}
}
return result;
}