// // cocos2d::CCNode::visit from 0x5be0f0 to 0x5be1a6 (182 bytes) // // 18 xrefs: // > BoomScrollLayer::visit @ 0x2e1bc6 // > CCScrollLayerExt::visit @ 0x2e8c6c // > CCTextInputNode::visit @ 0x2fb65e // > ScrollingLayer::visit @ 0x2fdfd2 // > CCNodeContainer::visit @ 0x46c256 // > GJBaseGameLayer::visitWithColorFlash @ 0x479a7a // > GJBaseGameLayer::visit @ 0x479b44 // > GJBaseGameLayer::visit @ 0x47a4fa // > DungeonBarsSprite::visit @ 0x4ebf48 // > ParticlePreviewLayer::visit @ 0x52f73a // > GJSmartBlockPreviewSprite::visit @ 0x5396a6 // > GJSmartBlockPreviewSprite::visit @ 0x5396b2 // > cocos2d::extension::CCScale9Sprite::visit @ 0x5a6d6e // > cocos2d::extension::CCEditBox::visit @ 0x5ab12e // > cocos2d::CCLayerGradient::visit @ 0x5cf204 // > cocos2d::CCClippingNode::visit @ 0x5d63e0 // > cocos2d::CCClippingNode::visit @ 0x5d65de // > cocos2d::CCParallaxNode::visit @ 0x5f6ed2 // // 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::CCNode::visit(cocos2d::CCNode *a1) { cocos2d::CCGridBase *m_pGrid; // r0 cocos2d::CCArray *m_pChildren; // r2 cocos2d::CCNode_vtbl *v4; // r3 unsigned int v5; // r5 cocos2d::ccArray *data; // r6 int *v7; // r0 int v8; // r7 cocos2d::CCObject *v9; // r0 cocos2d::CCGridBase *v10; // r0 if ( a1->m_bVisible ) { kmGLPushMatrix(a1); m_pGrid = a1->m_pGrid; if ( m_pGrid && m_pGrid->m_bActive ) cocos2d::CCGridBase::beforeDraw(m_pGrid); cocos2d::CCNode::transform(a1); m_pChildren = a1->m_pChildren; v4 = a1->__vftable; if ( m_pChildren && m_pChildren->data->num ) { v4->sortAllChildren(a1); v5 = 0; data = a1->m_pChildren->data; while ( v5 < data->num ) { v7 = (int *)data->arr[v5]; if ( !v7 || v7[10] >= 0 ) break; ++v5; (*(void (__fastcall **)(int *))(*v7 + 368))(v7); } v8 = v5; a1->draw(a1); while ( v5 < data->num ) { v9 = data->arr[v8]; if ( v9 ) v9->__vftable[9].~CCObject_0(v9); ++v5; ++v8; } } else { v4->draw(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