{"type": "func", "start": 6442529024, "end": 6442529166, "name": "cocos2d::CCDrawNode::drawLines", "pseudocode": "// \n// cocos2d::CCDrawNode::drawLines from 0x180013100 to 0x18001318e (142 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180132a50\n// > <???> @ 0x180132a60\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae3ec\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\nchar __fastcall cocos2d::CCDrawNode::drawLines(\n        cocos2d::CCDrawNode *this,\n        struct cocos2d::CCPoint *a2,\n        unsigned int a3,\n        float a4,\n        const struct cocos2d::_ccColor4F *a5)\n{\n  __int64 i; // rbx\n\n  for ( i = 0; (unsigned int)i < a3; i = (unsigned int)(i + 2) )\n    cocos2d::CCDrawNode::drawSegmentEx(this, &a2[i], &a2[(unsigned int)(i + 1)], a4, a5, 1, 1);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCDrawNode::drawLines from 0x180013100 to 0x18001318e (142 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180132a50\n; > <???> @ 0x180132a60\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae3ec\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180013100\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180013105\nmov     [rsp+arg_18], rdi                                              ; +0xa, 0x18001310a\npush    r14                                                            ; +0xf, 0x18001310f\nsub     rsp, 50h                                                       ; +0x11, 0x180013111\nxor     ebx, ebx                                                       ; +0x15, 0x180013115\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x17, 0x180013117\nmovaps  xmm6, xmm3                                                     ; +0x1c, 0x18001311c\nmov     esi, r8d                                                       ; +0x1f, 0x18001311f\nmov     rdi, rdx                                                       ; +0x22, 0x180013122\nmov     r14, rcx                                                       ; +0x25, 0x180013125\ntest    r8d, r8d                                                       ; +0x28, 0x180013128\njz      short loc_180013171                                            ; +0x2b, 0x18001312b\nmov     [rsp+58h+arg_0], rbp                                           ; +0x2d, 0x18001312d\nmov     rbp, [rsp+58h+arg_20]                                          ; +0x32, 0x180013132\nnop     word ptr [rax+rax+00h]                                         ; +0x3a, 0x18001313a\nlea     eax, [rbx+1]                                                   ; +0x40, 0x180013140\nmov     [rsp+58h+var_28], 1; bool                                      ; +0x43, 0x180013143\nlea     r8, [rdi+rax*8]; struct cocos2d::CCPoint *                     ; +0x48, 0x180013148\nmov     [rsp+58h+var_30], 1; bool                                      ; +0x4c, 0x18001314c\nlea     rdx, [rdi+rbx*8]; struct cocos2d::CCPoint *                    ; +0x51, 0x180013151\nmov     [rsp+58h+var_38], rbp; struct cocos2d::_ccColor4F *            ; +0x55, 0x180013155\nmovaps  xmm3, xmm6; float                                              ; +0x5a, 0x18001315a\nmov     rcx, r14; this                                                 ; +0x5d, 0x18001315d\ncall    ?drawSegmentEx@CCDrawNode@cocos2d@@QEAA_NAEBVCCPoint@2@0MAEBU_ccColor4F@2@_N2@Z; cocos2d::CCDrawNode::drawSegmentEx(cocos2d::CCPoint const &,cocos2d::CCPoint const &,float,cocos2d::_ccColor4F const &,bool,bool) ; +0x60, 0x180013160\nadd     ebx, 2                                                         ; +0x65, 0x180013165\ncmp     ebx, esi                                                       ; +0x68, 0x180013168\njb      short loc_180013140                                            ; +0x6a, 0x18001316a\nmov     rbp, [rsp+58h+arg_0]                                           ; +0x6c, 0x18001316c\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x71, 0x180013171\nmov     al, 1                                                          ; +0x76, 0x180013176\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x78, 0x180013178\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x7d, 0x18001317d\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x82, 0x180013182\nadd     rsp, 50h                                                       ; +0x87, 0x180013187\npop     r14                                                            ; +0x8b, 0x18001318b\nretn                                                                   ; +0x8d, 0x18001318d", "xrefs": ["<???> @ 0x180132a50", "<???> @ 0x180132a60", "<???> @ 0x1801438a8", "<???> @ 0x1801ae3ec"], "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"}