// // cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup from 0x100156220 to 0x1001562b8 (152 bytes) // // 4 xrefs: // > @ 0x100ac66f8 // > @ 0x100af0518 // > @ 0x100b6a928 // > @ 0x100b86e88 // // 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 12:25:04 +0000 // __int64 __fastcall cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup(__int64 a1, unsigned __int8 a2) { __int64 v3; // rdi __int64 v4; // rax unsigned int *v5; // rax _QWORD *v6; // r15 unsigned __int64 v7; // r12 v3 = *(_QWORD *)(a1 + 344); if ( v3 ) { if ( (unsigned int)sub_1007FEF90(v3) ) { v4 = *(_QWORD *)(a1 + 344); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((_QWORD **)v5 + 2); v7 = (unsigned __int64)&v6[*v5 - 1]; do { if ( !*v6 ) break; (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v6 + 1120LL))(*v6, 0); ++v6; } while ( (unsigned __int64)v6 <= v7 ); } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(a1, a2); sub_1007FF190(*(_QWORD *)(a1 + 344)); return cocos2d::CCTextureAtlas::removeAllQuads(*(_QWORD *)(a1 + 328)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source