{"type": "func", "start": 6442471760, "end": 6442471823, "name": "cocos2d::CCNode::sortAllChildren", "pseudocode": "// \n// cocos2d::CCNode::sortAllChildren from 0x180005150 to 0x18000518f (63 bytes)\n// \n// 79 xrefs:\n// > <???> @ 0x1800e5620\n// > <???> @ 0x1800e5c80\n// > <???> @ 0x1800e5ff0\n// > <???> @ 0x1800e6950\n// > <???> @ 0x1800e6e58\n// > <???> @ 0x1800eb620\n// > <???> @ 0x1800ed130\n// > <???> @ 0x1800ed5f0\n// > <???> @ 0x1800edb28\n// > <???> @ 0x1800ee090\n// > <???> @ 0x1800ee668\n// > <???> @ 0x1800eeb28\n// > <???> @ 0x1800eeeb0\n// > <???> @ 0x1800ef230\n// > <???> @ 0x1800ef5b8\n// > <???> @ 0x1800ef938\n// > <???> @ 0x1800efcb8\n// > <???> @ 0x1800f0058\n// > <???> @ 0x1800f03f8\n// > <???> @ 0x1800f0798\n// > <???> @ 0x1800f0b38\n// > <???> @ 0x1800f0ed8\n// > <???> @ 0x1800f1278\n// > <???> @ 0x1800f1618\n// > <???> @ 0x1800f19b8\n// > <???> @ 0x1800f1d48\n// > <???> @ 0x1800f20d0\n// > <???> @ 0x1800f2458\n// > <???> @ 0x1800f27e0\n// > <???> @ 0x1800f2b68\n// > <???> @ 0x1800f2ef0\n// > <???> @ 0x1800f3278\n// > <???> @ 0x1800f3600\n// > <???> @ 0x1800f3980\n// > <???> @ 0x1800f3d10\n// > <???> @ 0x1800f40a8\n// > <???> @ 0x1800f4440\n// > <???> @ 0x1800f47d8\n// > <???> @ 0x1800f4b70\n// > <???> @ 0x1800f4f08\n// > <???> @ 0x1800f52b8\n// > <???> @ 0x1800f5640\n// > <???> @ 0x1800f59d0\n// > <???> @ 0x1800f5d60\n// > <???> @ 0x1800f60f0\n// > <???> @ 0x1800f6480\n// > <???> @ 0x1800f6810\n// > <???> @ 0x1800f6ba0\n// > <???> @ 0x1800f6f38\n// > <???> @ 0x1800f74a0\n// > <???> @ 0x1800f78c8\n// > <???> @ 0x1800f7d10\n// > <???> @ 0x1800f8158\n// > <???> @ 0x1800f85a0\n// > <???> @ 0x1800f8a00\n// > <???> @ 0x1800f8e60\n// > <???> @ 0x1800f92b0\n// > <???> @ 0x1800f9678\n// > <???> @ 0x1800f9a90\n// > <???> @ 0x1800f9ea0\n// > <???> @ 0x1800fa2d0\n// > <???> @ 0x1800fa940\n// > <???> @ 0x1800fafb0\n// > <???> @ 0x1800fb620\n// > <???> @ 0x1800fbc90\n// > <???> @ 0x1800fc300\n// > <???> @ 0x1800fc970\n// > <???> @ 0x1800fcfe0\n// > <???> @ 0x1800fd650\n// > <???> @ 0x1800fdcc0\n// > <???> @ 0x1800fe330\n// > <???> @ 0x1800fe9a0\n// > <???> @ 0x1800ff1e8\n// > <???> @ 0x1800ffc88\n// > <???> @ 0x1801053f8\n// > <???> @ 0x1801057d0\n// > <???> @ 0x180106090\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad654\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCNode::sortAllChildren(cocos2d::CCNode *this)\n{\n  if ( this->m_bReorderChildDirty )\n  {\n    if ( this->m_bUseChildIndex )\n      cocos2d::CCNode::qsortAllChildrenWithIndex(this);\n    else\n      cocos2d::CCNode::sortAllChildrenNoIndex(this);\n    this->m_bReorderChildDirty = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCNode::sortAllChildren from 0x180005150 to 0x18000518f (63 bytes)\n; \n; 79 xrefs:\n; > <???> @ 0x1800e5620\n; > <???> @ 0x1800e5c80\n; > <???> @ 0x1800e5ff0\n; > <???> @ 0x1800e6950\n; > <???> @ 0x1800e6e58\n; > <???> @ 0x1800eb620\n; > <???> @ 0x1800ed130\n; > <???> @ 0x1800ed5f0\n; > <???> @ 0x1800edb28\n; > <???> @ 0x1800ee090\n; > <???> @ 0x1800ee668\n; > <???> @ 0x1800eeb28\n; > <???> @ 0x1800eeeb0\n; > <???> @ 0x1800ef230\n; > <???> @ 0x1800ef5b8\n; > <???> @ 0x1800ef938\n; > <???> @ 0x1800efcb8\n; > <???> @ 0x1800f0058\n; > <???> @ 0x1800f03f8\n; > <???> @ 0x1800f0798\n; > <???> @ 0x1800f0b38\n; > <???> @ 0x1800f0ed8\n; > <???> @ 0x1800f1278\n; > <???> @ 0x1800f1618\n; > <???> @ 0x1800f19b8\n; > <???> @ 0x1800f1d48\n; > <???> @ 0x1800f20d0\n; > <???> @ 0x1800f2458\n; > <???> @ 0x1800f27e0\n; > <???> @ 0x1800f2b68\n; > <???> @ 0x1800f2ef0\n; > <???> @ 0x1800f3278\n; > <???> @ 0x1800f3600\n; > <???> @ 0x1800f3980\n; > <???> @ 0x1800f3d10\n; > <???> @ 0x1800f40a8\n; > <???> @ 0x1800f4440\n; > <???> @ 0x1800f47d8\n; > <???> @ 0x1800f4b70\n; > <???> @ 0x1800f4f08\n; > <???> @ 0x1800f52b8\n; > <???> @ 0x1800f5640\n; > <???> @ 0x1800f59d0\n; > <???> @ 0x1800f5d60\n; > <???> @ 0x1800f60f0\n; > <???> @ 0x1800f6480\n; > <???> @ 0x1800f6810\n; > <???> @ 0x1800f6ba0\n; > <???> @ 0x1800f6f38\n; > <???> @ 0x1800f74a0\n; > <???> @ 0x1800f78c8\n; > <???> @ 0x1800f7d10\n; > <???> @ 0x1800f8158\n; > <???> @ 0x1800f85a0\n; > <???> @ 0x1800f8a00\n; > <???> @ 0x1800f8e60\n; > <???> @ 0x1800f92b0\n; > <???> @ 0x1800f9678\n; > <???> @ 0x1800f9a90\n; > <???> @ 0x1800f9ea0\n; > <???> @ 0x1800fa2d0\n; > <???> @ 0x1800fa940\n; > <???> @ 0x1800fafb0\n; > <???> @ 0x1800fb620\n; > <???> @ 0x1800fbc90\n; > <???> @ 0x1800fc300\n; > <???> @ 0x1800fc970\n; > <???> @ 0x1800fcfe0\n; > <???> @ 0x1800fd650\n; > <???> @ 0x1800fdcc0\n; > <???> @ 0x1800fe330\n; > <???> @ 0x1800fe9a0\n; > <???> @ 0x1800ff1e8\n; > <???> @ 0x1800ffc88\n; > <???> @ 0x1801053f8\n; > <???> @ 0x1801057d0\n; > <???> @ 0x180106090\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad654\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180005150\nsub     rsp, 20h                                                       ; +0x2, 0x180005152\ncmp     byte ptr [rcx+120h], 0                                         ; +0x6, 0x180005156\nmov     rbx, rcx                                                       ; +0xd, 0x18000515d\njz      short loc_180005189                                            ; +0x10, 0x180005160\ncmp     byte ptr [rcx+138h], 0                                         ; +0x12, 0x180005162\njz      short loc_18000517D                                            ; +0x19, 0x180005169\ncall    ?qsortAllChildrenWithIndex@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::qsortAllChildrenWithIndex(void) ; +0x1b, 0x18000516b\nmov     byte ptr [rbx+120h], 0                                         ; +0x20, 0x180005170\nadd     rsp, 20h                                                       ; +0x27, 0x180005177\npop     rbx                                                            ; +0x2b, 0x18000517b\nretn                                                                   ; +0x2c, 0x18000517c\ncall    ?sortAllChildrenNoIndex@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::sortAllChildrenNoIndex(void) ; +0x2d, 0x18000517d\nmov     byte ptr [rbx+120h], 0                                         ; +0x32, 0x180005182\nadd     rsp, 20h                                                       ; +0x39, 0x180005189\npop     rbx                                                            ; +0x3d, 0x18000518d\nretn                                                                   ; +0x3e, 0x18000518e", "xrefs": ["<???> @ 0x1800e5620", "<???> @ 0x1800e5c80", "<???> @ 0x1800e5ff0", "<???> @ 0x1800e6950", "<???> @ 0x1800e6e58", "<???> @ 0x1800eb620", "<???> @ 0x1800ed130", "<???> @ 0x1800ed5f0", "<???> @ 0x1800edb28", "<???> @ 0x1800ee090", "<???> @ 0x1800ee668", "<???> @ 0x1800eeb28", "<???> @ 0x1800eeeb0", "<???> @ 0x1800ef230", "<???> @ 0x1800ef5b8", "<???> @ 0x1800ef938", "<???> @ 0x1800efcb8", "<???> @ 0x1800f0058", "<???> @ 0x1800f03f8", "<???> @ 0x1800f0798", "<???> @ 0x1800f0b38", "<???> @ 0x1800f0ed8", "<???> @ 0x1800f1278", "<???> @ 0x1800f1618", "<???> @ 0x1800f19b8", "<???> @ 0x1800f1d48", "<???> @ 0x1800f20d0", "<???> @ 0x1800f2458", "<???> @ 0x1800f27e0", "<???> @ 0x1800f2b68", "<???> @ 0x1800f2ef0", "<???> @ 0x1800f3278", "<???> @ 0x1800f3600", "<???> @ 0x1800f3980", "<???> @ 0x1800f3d10", "<???> @ 0x1800f40a8", "<???> @ 0x1800f4440", "<???> @ 0x1800f47d8", "<???> @ 0x1800f4b70", "<???> @ 0x1800f4f08", "<???> @ 0x1800f52b8", "<???> @ 0x1800f5640", "<???> @ 0x1800f59d0", "<???> @ 0x1800f5d60", "<???> @ 0x1800f60f0", "<???> @ 0x1800f6480", "<???> @ 0x1800f6810", "<???> @ 0x1800f6ba0", "<???> @ 0x1800f6f38", "<???> @ 0x1800f74a0", "<???> @ 0x1800f78c8", "<???> @ 0x1800f7d10", "<???> @ 0x1800f8158", "<???> @ 0x1800f85a0", "<???> @ 0x1800f8a00", "<???> @ 0x1800f8e60", "<???> @ 0x1800f92b0", "<???> @ 0x1800f9678", "<???> @ 0x1800f9a90", "<???> @ 0x1800f9ea0", "<???> @ 0x1800fa2d0", "<???> @ 0x1800fa940", "<???> @ 0x1800fafb0", "<???> @ 0x1800fb620", "<???> @ 0x1800fbc90", "<???> @ 0x1800fc300", "<???> @ 0x1800fc970", "<???> @ 0x1800fcfe0", "<???> @ 0x1800fd650", "<???> @ 0x1800fdcc0", "<???> @ 0x1800fe330", "<???> @ 0x1800fe9a0", "<???> @ 0x1800ff1e8", "<???> @ 0x1800ffc88", "<???> @ 0x1801053f8", "<???> @ 0x1801057d0", "<???> @ 0x180106090", "<???> @ 0x1801438a8", "<???> @ 0x1801ad654"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}