// // cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup from 0x180091f80 to 0x18009202a (170 bytes) // // 7 xrefs: // > @ 0x1800f25d0 // > @ 0x18010a588 // > @ 0x18010c318 // > @ 0x180146b2c // > @ 0x180146b60 // > @ 0x18014cf68 // > @ 0x1801c0348 // // 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:08 +0000 // void __fastcall cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup(cocos2d::CCSpriteBatchNode *this, char a2) { cocos2d::CCArray *v4; // rcx __int64 v5; // rax unsigned int *v6; // rbx __int64 v7; // rax _QWORD *v8; // rbx _QWORD *i; // rsi v4 = *((cocos2d::CCArray **)this + 43); if ( v4 ) { if ( (unsigned int)cocos2d::CCArray::count(v4) ) { v5 = *((_QWORD *)this + 43); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((_QWORD **)v6 + 2); for ( i = &v8[v7 - 1]; v8 <= i; ++v8 ) { if ( !*v8 ) break; (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v8 + 968LL))(*v8, 0); } } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(this, a2); cocos2d::CCArray::removeAllObjects(*((cocos2d::CCArray **)this + 43)); cocos2d::CCTextureAtlas::removeAllQuads(*((cocos2d::CCTextureAtlas **)this + 41)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source