//
// cocos2d::extension::CCScrollView::pause from 0x1003f7720 to 0x1003f778b (107 bytes)
//
// 0 xrefs:
//
// 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::pause(cocos2d::extension::CCScrollView *a1, cocos2d::CCObject *a2)
{
__int64 v2; // rax
unsigned int *v3; // rax
cocos2d::CCNode **v4; // rbx
unsigned __int64 v5; // r14
cocos2d::CCNode::pauseSchedulerAndActions(a1->m_pContainer);
v2 = ((__int64 (__fastcall *)(cocos2d::CCNode *, cocos2d::CCObject *))a1->m_pContainer->getChildren)(
a1->m_pContainer,
a2);
if ( v2 )
{
v3 = *(unsigned int **)(v2 + 56);
if ( *v3 )
{
v4 = *((cocos2d::CCNode ***)v3 + 2);
v5 = (unsigned __int64)&v4[*v3 - 1];
do
{
if ( !*v4 )
break;
cocos2d::CCNode::pauseSchedulerAndActions(*v4++);
}
while ( (unsigned __int64)v4 <= v5 );
}
}
}