{"type": "func", "start": 6442529248, "end": 6442529390, "name": "cocos2d::CCDrawNode::drawLines", "pseudocode": "// \n// cocos2d::CCDrawNode::drawLines from 0x1800131e0 to 0x18001326e (142 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18013b91c\n// > <???> @ 0x18013b92c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b84a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:23 +0000\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(\n      this,\n      (struct cocos2d::CCPoint *)((char *)a2 + 8 * i),\n      (struct cocos2d::CCPoint *)((char *)a2 + 8 * (unsigned int)(i + 1)),\n      a4,\n      a5,\n      1,\n      1);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCDrawNode::drawLines from 0x1800131e0 to 0x18001326e (142 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18013b91c\n; > <???> @ 0x18013b92c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b84a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:23 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800131e0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800131e5\nmov     [rsp+arg_18], rdi                                              ; +0xa, 0x1800131ea\npush    r14                                                            ; +0xf, 0x1800131ef\nsub     rsp, 50h                                                       ; +0x11, 0x1800131f1\nxor     ebx, ebx                                                       ; +0x15, 0x1800131f5\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x17, 0x1800131f7\nmovaps  xmm6, xmm3                                                     ; +0x1c, 0x1800131fc\nmov     esi, r8d                                                       ; +0x1f, 0x1800131ff\nmov     rdi, rdx                                                       ; +0x22, 0x180013202\nmov     r14, rcx                                                       ; +0x25, 0x180013205\ntest    r8d, r8d                                                       ; +0x28, 0x180013208\njz      short loc_180013251                                            ; +0x2b, 0x18001320b\nmov     [rsp+58h+arg_0], rbp                                           ; +0x2d, 0x18001320d\nmov     rbp, [rsp+58h+arg_20]                                          ; +0x32, 0x180013212\nnop     word ptr [rax+rax+00h]                                         ; +0x3a, 0x18001321a\nlea     eax, [rbx+1]                                                   ; +0x40, 0x180013220\nmov     [rsp+58h+var_28], 1; bool                                      ; +0x43, 0x180013223\nlea     r8, [rdi+rax*8]; struct cocos2d::CCPoint *                     ; +0x48, 0x180013228\nmov     [rsp+58h+var_30], 1; bool                                      ; +0x4c, 0x18001322c\nlea     rdx, [rdi+rbx*8]; struct cocos2d::CCPoint *                    ; +0x51, 0x180013231\nmov     [rsp+58h+var_38], rbp; struct cocos2d::_ccColor4F *            ; +0x55, 0x180013235\nmovaps  xmm3, xmm6; float                                              ; +0x5a, 0x18001323a\nmov     rcx, r14; this                                                 ; +0x5d, 0x18001323d\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, 0x180013240\nadd     ebx, 2                                                         ; +0x65, 0x180013245\ncmp     ebx, esi                                                       ; +0x68, 0x180013248\njb      short loc_180013220                                            ; +0x6a, 0x18001324a\nmov     rbp, [rsp+58h+arg_0]                                           ; +0x6c, 0x18001324c\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x71, 0x180013251\nmov     al, 1                                                          ; +0x76, 0x180013256\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x78, 0x180013258\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x7d, 0x18001325d\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x82, 0x180013262\nadd     rsp, 50h                                                       ; +0x87, 0x180013267\npop     r14                                                            ; +0x8b, 0x18001326b\nretn                                                                   ; +0x8d, 0x18001326d", "xrefs": ["<???> @ 0x18013b91c", "<???> @ 0x18013b92c", "<???> @ 0x18014cf68", "<???> @ 0x1801b84a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}