// // cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup from 0x100176e70 to 0x100176f08 (152 bytes) // // 4 xrefs: // > @ 0x1008c2e58 // > @ 0x1008eab08 // > @ 0x10095de10 // > @ 0x1009742f8 // // 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 __fastcall cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup(cocos2d::CCSpriteBatchNode *a1, bool a2) { cocos2d::CCArray *m_pobDescendants; // rdi cocos2d::CCArray *v4; // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // r15 unsigned __int64 v7; // r12 m_pobDescendants = a1->m_pobDescendants; if ( m_pobDescendants ) { if ( (unsigned int)sub_100720070(m_pobDescendants) ) { v4 = a1->m_pobDescendants; if ( v4 ) { data = v4->data; if ( data->num ) { arr = data->arr; v7 = (unsigned __int64)&arr[data->num - 1]; do { if ( !*arr ) break; ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))(*arr)->__vftable[13].getTag)(*arr, 0); ++arr; } while ( (unsigned __int64)arr <= v7 ); } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(a1, a2); sub_100720270(a1->m_pobDescendants); cocos2d::CCTextureAtlas::removeAllQuads(a1->m_pobTextureAtlas); }
GD Web Decomp Icon

GD Web Decomp

Raw Source