; ; cocos2d::CCNode::qsortAllChildrenWithIndex from 0x1800045f0 to 0x18000465b (107 bytes) ; ; 6 xrefs: ; > cocos2d::CCNode::sortAllChildren @ 0x18000525b ; > cocos2d::CCNode::sortAllChildrenWithIndex @ 0x180005390 ; > @ 0x180139c48 ; > @ 0x180139c58 ; > @ 0x18014cf68 ; > @ 0x1801b74b0 ; ; 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 11:21:17 +0000 ; sub rsp, 28h ; +0x0, 0x1800045f0 cmp byte ptr [rcx+120h], 0 ; +0x4, 0x1800045f4 jz short loc_180004656 ; +0xb, 0x1800045fb cmp byte ptr [rcx+138h], 0 ; +0xd, 0x1800045fd mov [rsp+28h+var_8], rbx ; +0x14, 0x180004604 lea rbx, [rcx+0D0h] ; +0x19, 0x180004609 jz short loc_18000461E ; +0x20, 0x180004610 mov rcx, [rbx] ; +0x22, 0x180004612 mov rcx, [rcx+38h] ; +0x25, 0x180004615 call sub_1800A1D70 ; +0x29, 0x180004619 mov rax, [rbx] ; +0x2e, 0x18000461e lea r9, sub_1800041E0 ; +0x31, 0x180004621 mov rdx, [rax+38h] ; +0x38, 0x180004628 mov rcx, [rdx+10h] ; +0x3c, 0x18000462c mov r8d, [rdx] ; +0x40, 0x180004630 lea rdx, [rcx+r8*8] ; +0x43, 0x180004633 call sub_1800023B0 ; +0x47, 0x180004637 mov rcx, [rbx] ; +0x4c, 0x18000463c mov rcx, [rcx+38h] ; +0x4f, 0x18000463f mov rbx, [rsp+28h+var_8] ; +0x53, 0x180004643 add rsp, 28h ; +0x58, 0x180004648 jmp sub_1800A1980 ; +0x5c, 0x18000464c mov rbx, [rsp+28h+var_8] ; +0x61, 0x180004651 add rsp, 28h ; +0x66, 0x180004656 retn ; +0x6a, 0x18000465a