// // cocos2d::CCSprite::removeAllChildrenWithCleanup from 0x100289af0 to 0x100289ba7 (183 bytes) // // 78 xrefs: // > @ 0x1008b3ff8 // > @ 0x1008b7fe0 // > @ 0x1008c42a0 // > @ 0x1008c4ad8 // > @ 0x1008c52d0 // > @ 0x1008c5ac8 // > @ 0x1008c62c0 // > @ 0x1008c6ab8 // > @ 0x1008c72b0 // > @ 0x1008c7aa8 // > @ 0x1008c8290 // > @ 0x1008c8aa0 // > @ 0x1008c9318 // > @ 0x1008c9b28 // > @ 0x1008ca338 // > @ 0x1008cab48 // > @ 0x1008cb358 // > @ 0x1008cbb68 // > @ 0x1008cc378 // > @ 0x1008ccb88 // > @ 0x1008cd398 // > @ 0x1008cdba8 // > @ 0x1008ce3d0 // > @ 0x1008cec28 // > @ 0x1008cf450 // > @ 0x1008cfc78 // > @ 0x1008d04a0 // > @ 0x1008d0cc8 // > @ 0x1008d14d8 // > @ 0x1008d1ce8 // > @ 0x1008d24f8 // > @ 0x1008d2d08 // > @ 0x1008d3518 // > @ 0x1008d3d28 // > @ 0x1008d4538 // > @ 0x1008d4d48 // > @ 0x1008d5558 // > @ 0x1008d5d68 // > @ 0x1008d6578 // > @ 0x1008d6d88 // > @ 0x1008d7598 // > @ 0x1008d7da8 // > @ 0x1008d85b8 // > @ 0x1008d8dc8 // > @ 0x1008dd3a8 // > @ 0x1008e08d8 // > @ 0x1008f0550 // > @ 0x1008f38e0 // > @ 0x100904cd8 // > @ 0x1009098b0 // > @ 0x10090b8e8 // > @ 0x100913390 // > @ 0x100914638 // > @ 0x1009151c8 // > @ 0x10091bf58 // > @ 0x10091c4e0 // > @ 0x10091d938 // > @ 0x10091ded8 // > @ 0x100923570 // > @ 0x100927f08 // > @ 0x10092ac60 // > @ 0x100933938 // > @ 0x100934160 // > @ 0x10093c800 // > @ 0x10093cdb0 // > @ 0x100942040 // > @ 0x10094e758 // > @ 0x100971620 // > @ 0x100971e08 // > @ 0x100972618 // > @ 0x100974880 // > @ 0x100974e38 // > @ 0x1009753f0 // > @ 0x10097a3e0 // > @ 0x10097a998 // > @ 0x100985468 // > @ 0x100991850 // > @ 0x100996078 // // 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::CCSprite::removeAllChildrenWithCleanup(cocos2d::CCSprite *a1, bool a2) { cocos2d::CCArray *m_pChildren; // rax cocos2d::ccArray *data; // rax const void **arr; // r13 const void **v5; // r14 cocos2d::CCSprite *v6; // rax if ( a1->m_pobBatchNode ) { m_pChildren = a1->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; if ( data->num ) { arr = (const void **)data->arr; v5 = &arr[data->num - 1]; do { if ( !*arr ) break; v6 = (cocos2d::CCSprite *)__dynamic_cast( *arr, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCSprite, 0); if ( v6 ) cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas(a1->m_pobBatchNode, v6); ++arr; } while ( arr <= v5 ); } } } cocos2d::CCNode::removeAllChildrenWithCleanup(a1, a2); a1->m_bHasChildren = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source