//
// cocos2d::extension::CCScrollView::pause from 0x180012750 to 0x1800127c2 (114 bytes)
//
// 4 xrefs:
// > ??> @ 0x18002e8a4
// > ??> @ 0x18002e8b4
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a374
//
// 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::CCNode **this, struct cocos2d::CCObject *a2)
{
__int64 v3; // rax
unsigned int *v4; // rbx
__int64 v5; // rax
cocos2d::CCNode **v6; // rbx
cocos2d::CCNode **i; // rdi
cocos2d::CCNode::pauseSchedulerAndActions(*(this + 56));
v3 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 56) + 464LL))(*(this + 56));
if ( v3 )
{
v4 = *(unsigned int **)(v3 + 56);
v5 = *v4;
if ( (_DWORD)v5 )
{
v6 = *((cocos2d::CCNode ***)v4 + 2);
for ( i = &v6[v5 - 1]; v6 <= i; ++v6 )
{
if ( !*v6 )
break;
cocos2d::CCNode::pauseSchedulerAndActions(*v6);
}
}
}
}