; ; cocos2d::CCNode::qsortAllChildrenWithIndex from 0x180004520 to 0x18000458b (107 bytes) ; ; 6 xrefs: ; > cocos2d::CCNode::sortAllChildren @ 0x18000516b ; > cocos2d::CCNode::sortAllChildrenWithIndex @ 0x180005290 ; > @ 0x180130ddc ; > @ 0x180130dec ; > @ 0x1801438a8 ; > @ 0x1801ad48c ; ; 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 ; sub rsp, 28h ; +0x0, 0x180004520 cmp byte ptr [rcx+120h], 0 ; +0x4, 0x180004524 jz short loc_180004586 ; +0xb, 0x18000452b cmp byte ptr [rcx+138h], 0 ; +0xd, 0x18000452d mov [rsp+28h+var_8], rbx ; +0x14, 0x180004534 lea rbx, [rcx+0D0h] ; +0x19, 0x180004539 jz short loc_18000454E ; +0x20, 0x180004540 mov rcx, [rbx] ; +0x22, 0x180004542 mov rcx, [rcx+38h] ; +0x25, 0x180004545 call sub_18009E0E0 ; +0x29, 0x180004549 mov rax, [rbx] ; +0x2e, 0x18000454e lea r9, sub_180004150 ; +0x31, 0x180004551 mov rdx, [rax+38h] ; +0x38, 0x180004558 mov rcx, [rdx+10h] ; +0x3c, 0x18000455c mov r8d, [rdx] ; +0x40, 0x180004560 lea rdx, [rcx+r8*8] ; +0x43, 0x180004563 call sub_1800023F0 ; +0x47, 0x180004567 mov rcx, [rbx] ; +0x4c, 0x18000456c mov rcx, [rcx+38h] ; +0x4f, 0x18000456f mov rbx, [rsp+28h+var_8] ; +0x53, 0x180004573 add rsp, 28h ; +0x58, 0x180004578 jmp sub_18009DCF0 ; +0x5c, 0x18000457c mov rbx, [rsp+28h+var_8] ; +0x61, 0x180004581 add rsp, 28h ; +0x66, 0x180004586 retn ; +0x6a, 0x18000458a