; ; cocos2d::CCNode::setUseChildIndex from 0x180005030 to 0x180005097 (103 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801ad630 ; ; 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 ; push rbx ; +0x0, 0x180005030 sub rsp, 20h ; +0x2, 0x180005032 mov rbx, rcx ; +0x6, 0x180005036 cmp [rcx+138h], dl ; +0x9, 0x180005039 jz short loc_180005091 ; +0xf, 0x18000503f mov [rcx+138h], dl ; +0x11, 0x180005041 test dl, dl ; +0x17, 0x180005047 jz short loc_180005091 ; +0x19, 0x180005049 mov rcx, [rcx+0D0h]; this ; +0x1b, 0x18000504b test rcx, rcx ; +0x22, 0x180005052 jz short loc_180005091 ; +0x25, 0x180005055 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x27, 0x180005057 test eax, eax ; +0x2c, 0x18000505c jz short loc_180005091 ; +0x2e, 0x18000505e mov rax, [rbx+0D0h] ; +0x30, 0x180005060 xor edx, edx ; +0x37, 0x180005067 mov rcx, [rax+38h] ; +0x39, 0x180005069 movsxd r8, dword ptr [rcx] ; +0x3d, 0x18000506d mov r9, [rcx+10h] ; +0x40, 0x180005070 test r8, r8 ; +0x44, 0x180005074 jle short loc_180005091 ; +0x47, 0x180005077 mov ecx, edx ; +0x49, 0x180005079 nop dword ptr [rax+rax+00h] ; +0x4b, 0x18000507b mov rax, [r9+rcx*8] ; +0x50, 0x180005080 inc rcx ; +0x54, 0x180005084 mov [rax+24h], edx ; +0x57, 0x180005087 inc edx ; +0x5a, 0x18000508a cmp rcx, r8 ; +0x5c, 0x18000508c jl short loc_180005080 ; +0x5f, 0x18000508f add rsp, 20h ; +0x61, 0x180005091 pop rbx ; +0x65, 0x180005095 retn ; +0x66, 0x180005096