; ; cocos2d::CCNode::setUseChildIndex from 0x180005120 to 0x180005187 (103 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b7654 ; ; 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:18 +0000 ; push rbx ; +0x0, 0x180005120 sub rsp, 20h ; +0x2, 0x180005122 mov rbx, rcx ; +0x6, 0x180005126 cmp [rcx+138h], dl ; +0x9, 0x180005129 jz short loc_180005181 ; +0xf, 0x18000512f mov [rcx+138h], dl ; +0x11, 0x180005131 test dl, dl ; +0x17, 0x180005137 jz short loc_180005181 ; +0x19, 0x180005139 mov rcx, [rcx+0D0h]; this ; +0x1b, 0x18000513b test rcx, rcx ; +0x22, 0x180005142 jz short loc_180005181 ; +0x25, 0x180005145 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x27, 0x180005147 test eax, eax ; +0x2c, 0x18000514c jz short loc_180005181 ; +0x2e, 0x18000514e mov rax, [rbx+0D0h] ; +0x30, 0x180005150 xor edx, edx ; +0x37, 0x180005157 mov rcx, [rax+38h] ; +0x39, 0x180005159 movsxd r8, dword ptr [rcx] ; +0x3d, 0x18000515d mov r9, [rcx+10h] ; +0x40, 0x180005160 test r8, r8 ; +0x44, 0x180005164 jle short loc_180005181 ; +0x47, 0x180005167 mov ecx, edx ; +0x49, 0x180005169 nop dword ptr [rax+rax+00h] ; +0x4b, 0x18000516b mov rax, [r9+rcx*8] ; +0x50, 0x180005170 inc rcx ; +0x54, 0x180005174 mov [rax+24h], edx ; +0x57, 0x180005177 inc edx ; +0x5a, 0x18000517a cmp rcx, r8 ; +0x5c, 0x18000517c jl short loc_180005170 ; +0x5f, 0x18000517f add rsp, 20h ; +0x61, 0x180005181 pop rbx ; +0x65, 0x180005185 retn ; +0x66, 0x180005186