// // cocos2d::extension::CCScrollView::visit from 0x5a8d6c to 0x5a8e2a (190 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 cocos2d::extension::CCScrollView::visit(cocos2d::extension::CCScrollView *a1) { int v2; // r0 cocos2d::CCGridBase *m_pGrid; // r0 cocos2d::CCArray *m_pChildren; // r3 cocos2d::ccArray *data; // r6 unsigned int i; // r5 cocos2d::CCObject *v7; // r7 int v8; // r7 cocos2d::CCObject *v9; // r0 cocos2d::CCGridBase *v10; // r0 v2 = ((int (__fastcall *)(cocos2d::extension::CCScrollView *))a1->isVisible)(a1); if ( v2 ) { kmGLPushMatrix(v2); m_pGrid = a1->m_pGrid; if ( m_pGrid && m_pGrid->m_bActive ) { cocos2d::CCGridBase::beforeDraw(m_pGrid); cocos2d::CCNode::transformAncestors(a1); } cocos2d::CCNode::transform(a1); cocos2d::extension::CCScrollView::beforeDraw(a1); m_pChildren = a1->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; for ( i = 0; i < data->num; ++i ) { v7 = data->arr[i]; if ( ((int (__fastcall *)(cocos2d::CCObject *))v7->__vftable[1].isEqual)(v7) >= 0 ) break; v7->__vftable[9].~CCObject_0(v7); } v8 = i; a1->draw(a1); while ( i < data->num ) { ++i; v9 = data->arr[v8++]; v9->__vftable[9].~CCObject_0(v9); } } else { a1->draw(a1); } cocos2d::extension::CCScrollView::afterDraw(a1); v10 = a1->m_pGrid; if ( v10 ) { if ( v10->m_bActive ) cocos2d::CCGridBase::afterDraw(v10, a1); } kmGLPopMatrix(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source