// // cocos2d::CCSprite::removeAllChildrenWithCleanup from 0xb167c8 to 0xb16880 (184 bytes) // // 80 xrefs: // > @ 0x2d210 // > @ 0x1136128 // > @ 0x11366d8 // > @ 0x1137458 // > @ 0x11395a8 // > @ 0x1139b38 // > @ 0x113cdb8 // > @ 0x113d3d8 // > @ 0x113e808 // > @ 0x1142d38 // > @ 0x11432d8 // > @ 0x1144c28 // > @ 0x11451c8 // > @ 0x1149608 // > @ 0x1152918 // > @ 0x1153108 // > @ 0x11536e8 // > @ 0x1153eb8 // > @ 0x11546b8 // > @ 0x1159958 // > @ 0x1162068 // > @ 0x1162868 // > @ 0x1163068 // > @ 0x1163868 // > @ 0x1164068 // > @ 0x1164868 // > @ 0x1165068 // > @ 0x1165868 // > @ 0x1166038 // > @ 0x1166838 // > @ 0x1167038 // > @ 0x1167838 // > @ 0x1168038 // > @ 0x1168878 // > @ 0x1169078 // > @ 0x1169878 // > @ 0x116a078 // > @ 0x116a878 // > @ 0x116b088 // > @ 0x116b888 // > @ 0x116c088 // > @ 0x116c888 // > @ 0x116d088 // > @ 0x116d888 // > @ 0x116e088 // > @ 0x116e888 // > @ 0x116f088 // > @ 0x116f888 // > @ 0x1170088 // > @ 0x1170888 // > @ 0x1171088 // > @ 0x1171888 // > @ 0x1172088 // > @ 0x1172888 // > @ 0x1173088 // > @ 0x1173888 // > @ 0x1174088 // > @ 0x1174888 // > @ 0x1175088 // > @ 0x1175888 // > @ 0x1176088 // > @ 0x1176888 // > @ 0x11770a8 // > @ 0x1178ef8 // > @ 0x1179488 // > @ 0x1192518 // > @ 0x1194208 // > @ 0x11a0dd8 // > @ 0x11a1378 // > @ 0x11aa8f8 // > @ 0x11b02b8 // > @ 0x11b25b8 // > @ 0x11d9d18 // > @ 0x11ed5c8 // > @ 0x11f7318 // > @ 0x12020b8 // > @ 0x1202648 // > @ 0x12031a8 // > @ 0x1218758 // > @ 0x1219d88 // // 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 cocos2d::CCSprite::removeAllChildrenWithCleanup(cocos2d::CCSprite *a1, bool a2) { cocos2d::CCArray *m_pChildren; // x0 cocos2d::ccArray *data; // x1 const void **arr; // x19 const void **v7; // x21 const void *i; // x0 cocos2d::CCSprite *v9; // x1 if ( a1->m_pobBatchNode ) { m_pChildren = a1->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; if ( data->num ) { arr = (const void **)data->arr; v7 = &arr[data->num - 1]; if ( arr <= v7 ) { for ( i = *arr; *arr; i = *arr ) { v9 = (cocos2d::CCSprite *)_dynamic_cast( i, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCSprite, 0); if ( v9 ) cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas(a1->m_pobBatchNode, v9); if ( v7 < ++arr ) break; } } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(a1, a2); a1->m_bHasChildren = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source