// // cocos2d::CCNode::visit from 0x7c4b30 to 0x7c4be6 (182 bytes) // // 19 xrefs: // > BoomScrollLayer::visit @ 0x3c1252 // > CCScrollLayerExt::visit @ 0x3c90d0 // > CCTextInputNode::visit @ 0x3e4b5e // > ScrollingLayer::visit @ 0x3e75fe // > ScrollableContentLayer::visit @ 0x3f4ef6 // > CCNodeContainer::visit @ 0x58b6be // > GJBaseGameLayer::visitWithColorFlash @ 0x59856e // > GJBaseGameLayer::visit @ 0x598638 // > GJBaseGameLayer::visit @ 0x598fee // > DungeonBarsSprite::visit @ 0x61a644 // > ParticlePreviewLayer::visit @ 0x663ef6 // > GJSmartBlockPreviewSprite::visit @ 0x66e77a // > GJSmartBlockPreviewSprite::visit @ 0x66e786 // > cocos2d::extension::CCScale9Sprite::visit @ 0x7aca7e // > cocos2d::extension::CCEditBox::visit @ 0x7b0de6 // > cocos2d::CCLayerGradient::visit @ 0x7d7394 // > cocos2d::CCClippingNode::visit @ 0x7de628 // > cocos2d::CCClippingNode::visit @ 0x7de826 // > cocos2d::CCParallaxNode::visit @ 0x803a42 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:23 +0000 // int __fastcall cocos2d::CCNode::visit(int this) { cocos2d::CCNode *v1; // r4 cocos2d::CCGridBase *v2; // r0 int v3; // r2 int v4; // r3 unsigned int v5; // r5 unsigned int *v6; // r6 int *v7; // r0 int v8; // r7 int v9; // r0 cocos2d::CCGridBase *v10; // r0 v1 = (cocos2d::CCNode *)this; if ( *(_BYTE *)(this + 238) ) { kmGLPushMatrix(this); v2 = *((cocos2d::CCGridBase **)v1 + 47); if ( v2 && *((_BYTE *)v2 + 52) ) cocos2d::CCGridBase::beforeDraw(v2); cocos2d::CCNode::transform(v1); v3 = *((_DWORD *)v1 + 48); v4 = *(_DWORD *)v1; if ( v3 && **(_DWORD **)(v3 + 52) ) { (*(void (__fastcall **)(cocos2d::CCNode *))(v4 + 300))(v1); v5 = 0; v6 = *(unsigned int **)(*((_DWORD *)v1 + 48) + 52); while ( v5 < *v6 ) { v7 = *(int **)(v6[3] + 4 * v5); if ( !v7 || v7[10] >= 0 ) break; ++v5; (*(void (__fastcall **)(int *))(*v7 + 376))(v7); } v8 = 4 * v5; (*(void (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v1 + 372))(v1); while ( v5 < *v6 ) { v9 = *(_DWORD *)(v6[3] + v8); if ( v9 ) (*(void (__fastcall **)(int))(*(_DWORD *)v9 + 376))(v9); ++v5; v8 += 4; } } else { (*(void (__fastcall **)(cocos2d::CCNode *))(v4 + 372))(v1); } v10 = *((cocos2d::CCGridBase **)v1 + 47); if ( v10 ) { if ( *((_BYTE *)v10 + 52) ) cocos2d::CCGridBase::afterDraw(v10, v1); } return kmGLPopMatrix(); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source