// // cocos2d::CCSprite::removeAllChildrenWithCleanup from 0x18008f1e0 to 0x18008f2a3 (195 bytes) // // 9 xrefs: // > @ 0x1800f1bb0 // > @ 0x1800f2098 // > @ 0x1800f2c48 // > @ 0x18010a088 // > @ 0x18010d0a0 // > @ 0x18014662c // > @ 0x180146684 // > @ 0x18014cf68 // > @ 0x1801bfee0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 11:22:07 +0000 // void __fastcall cocos2d::CCSprite::removeAllChildrenWithCleanup(cocos2d::CCSprite *this, char a2) { __int64 v4; // rax unsigned int *v5; // rbx __int64 v6; // rax _QWORD *v7; // rbx _QWORD *i; // rsi struct cocos2d::CCSprite *v9; // rax if ( *((_QWORD *)this + 46) ) { v4 = *((_QWORD *)this + 26); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((_QWORD **)v5 + 2); for ( i = &v7[v6 - 1]; v7 <= i; ++v7 ) { if ( !*v7 ) break; v9 = (struct cocos2d::CCSprite *)_RTDynamicCast( *v7, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCSprite `RTTI Type Descriptor', 0); if ( v9 ) cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas(*((cocos2d::CCSpriteBatchNode **)this + 46), v9); } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(this, a2); *((_BYTE *)this + 378) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source