// // cocos2d::CCNode::addChild from 0x5bdee8 to 0x5bdf5a (114 bytes) // // 6 xrefs: // > cocos2d::extension::CCScrollView::addChild @ 0x5a975c // > cocos2d::CCMenu::addChild @ 0x5d4ba0 // > cocos2d::CCSprite::addChild @ 0x5e7460 // > cocos2d::CCSpriteBatchNode::addChild @ 0x5e861e // > cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad @ 0x5e8682 // > cocos2d::CCParallaxNode::addChild @ 0x5f6c96 // // 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::addChild(cocos2d::CCNode *a1) { _DWORD *v1; // r1 int v2; // r3 int v3; // r6 _DWORD *v5; // r4 int v6; // r3 int v7; // r3 void (__fastcall *v8)(_DWORD *); // r2 v3 = v2; v5 = v1; if ( !a1->m_pChildren ) cocos2d::CCNode::childrenAlloc(a1); cocos2d::CCNode::insertChild(a1, (int)v5); v6 = *v5; v5[3] = v3; (*(void (__fastcall **)(_DWORD *, cocos2d::CCNode *))(v6 + 244))(v5, a1); v7 = *v5; if ( v5[12] ) { (*(void (__fastcall **)(_DWORD *))(v7 + 196))(v5); } else { v8 = *(void (__fastcall **)(_DWORD *))(v7 + 196); ++dword_ABAC1C; v8(v5); } if ( a1->m_bRunning ) { (*(void (__fastcall **)(_DWORD *))(*v5 + 344))(v5); (*(void (__fastcall **)(_DWORD *))(*v5 + 348))(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source