{"type": "func", "start": 6442523728, "end": 6442524011, "name": "cocos2d::ccDrawRect", "pseudocode": "// \n// cocos2d::ccDrawRect from 0x180011c50 to 0x180011d6b (283 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b83d4\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:22 +0000\n// \n\nvoid __fastcall cocos2d::ccDrawRect(float *a1, float *a2)\n{\n  float v4; // xmm6_4\n  float v5; // xmm7_4\n  float *v6; // rbx\n  float *v7; // rax\n  const struct cocos2d::CCPoint *v8; // r8\n  float v9; // xmm7_4\n  float v10; // xmm6_4\n  float *v11; // rbx\n  float *v12; // rax\n  const struct cocos2d::CCPoint *v13; // r8\n  float v14; // xmm6_4\n  float v15; // xmm7_4\n  float *v16; // rbx\n  float *v17; // rax\n  const struct cocos2d::CCPoint *v18; // r8\n  float v19; // xmm7_4\n  float v20; // xmm6_4\n  float *v21; // rbx\n  float *v22; // rax\n  const struct cocos2d::CCPoint *v23; // r8\n  float v24; // [rsp+50h] [rbp+8h] BYREF\n  float v25; // [rsp+58h] [rbp+10h] BYREF\n\n  v4 = a1[1];\n  v5 = *a1;\n  v6 = kmVec2Fill(&v24, *a2, v4);\n  v7 = kmVec2Fill(&v25, v5, v4);\n  cocos2d::ccDrawLine((cocos2d *)v7, (const struct cocos2d::CCPoint *)v6, v8);\n  v9 = *a2;\n  v10 = a1[1];\n  v11 = kmVec2Fill(&v24, *a2, a2[1]);\n  v12 = kmVec2Fill(&v25, v9, v10);\n  cocos2d::ccDrawLine((cocos2d *)v12, (const struct cocos2d::CCPoint *)v11, v13);\n  v14 = a2[1];\n  v15 = *a2;\n  v16 = kmVec2Fill(&v24, *a1, v14);\n  v17 = kmVec2Fill(&v25, v15, v14);\n  cocos2d::ccDrawLine((cocos2d *)v17, (const struct cocos2d::CCPoint *)v16, v18);\n  v19 = *a1;\n  v20 = a2[1];\n  v21 = kmVec2Fill(&v24, *a1, a1[1]);\n  v22 = kmVec2Fill(&v25, v19, v20);\n  cocos2d::ccDrawLine((cocos2d *)v22, (const struct cocos2d::CCPoint *)v21, v23);\n}", "assembly": "; \n; cocos2d::ccDrawRect from 0x180011c50 to 0x180011d6b (283 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b83d4\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:22 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x180011c50\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180011c55\npush    rdi                                                            ; +0xa, 0x180011c5a\nsub     rsp, 40h                                                       ; +0xb, 0x180011c5b\nmovss   xmm1, dword ptr [rdx]                                          ; +0xf, 0x180011c5f\nmov     rsi, rcx                                                       ; +0x13, 0x180011c63\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x16, 0x180011c66\nmov     rdi, rdx                                                       ; +0x1b, 0x180011c6b\nmovss   xmm6, dword ptr [rcx+4]                                        ; +0x1e, 0x180011c6e\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x23, 0x180011c73\nmovaps  xmm2, xmm6                                                     ; +0x28, 0x180011c78\nmovss   xmm7, dword ptr [rcx]                                          ; +0x2b, 0x180011c7b\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x2f, 0x180011c7f\ncall    kmVec2Fill                                                     ; +0x34, 0x180011c84\nmovaps  xmm2, xmm6                                                     ; +0x39, 0x180011c89\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x3c, 0x180011c8c\nmovaps  xmm1, xmm7                                                     ; +0x41, 0x180011c91\nmov     rbx, rax                                                       ; +0x44, 0x180011c94\ncall    kmVec2Fill                                                     ; +0x47, 0x180011c97\nmov     rcx, rax; this                                                 ; +0x4c, 0x180011c9c\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0x4f, 0x180011c9f\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x52, 0x180011ca2\nmovss   xmm7, dword ptr [rdi]                                          ; +0x57, 0x180011ca7\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x5b, 0x180011cab\nmovss   xmm2, dword ptr [rdi+4]                                        ; +0x60, 0x180011cb0\nmovaps  xmm1, xmm7                                                     ; +0x65, 0x180011cb5\nmovss   xmm6, dword ptr [rsi+4]                                        ; +0x68, 0x180011cb8\ncall    kmVec2Fill                                                     ; +0x6d, 0x180011cbd\nmovaps  xmm2, xmm6                                                     ; +0x72, 0x180011cc2\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x75, 0x180011cc5\nmovaps  xmm1, xmm7                                                     ; +0x7a, 0x180011cca\nmov     rbx, rax                                                       ; +0x7d, 0x180011ccd\ncall    kmVec2Fill                                                     ; +0x80, 0x180011cd0\nmov     rcx, rax; this                                                 ; +0x85, 0x180011cd5\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0x88, 0x180011cd8\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x8b, 0x180011cdb\nmovss   xmm6, dword ptr [rdi+4]                                        ; +0x90, 0x180011ce0\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x95, 0x180011ce5\nmovss   xmm1, dword ptr [rsi]                                          ; +0x9a, 0x180011cea\nmovaps  xmm2, xmm6                                                     ; +0x9e, 0x180011cee\nmovss   xmm7, dword ptr [rdi]                                          ; +0xa1, 0x180011cf1\ncall    kmVec2Fill                                                     ; +0xa5, 0x180011cf5\nmovaps  xmm2, xmm6                                                     ; +0xaa, 0x180011cfa\nlea     rcx, [rsp+48h+arg_8]                                           ; +0xad, 0x180011cfd\nmovaps  xmm1, xmm7                                                     ; +0xb2, 0x180011d02\nmov     rbx, rax                                                       ; +0xb5, 0x180011d05\ncall    kmVec2Fill                                                     ; +0xb8, 0x180011d08\nmov     rcx, rax; this                                                 ; +0xbd, 0x180011d0d\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0xc0, 0x180011d10\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xc3, 0x180011d13\nmovss   xmm7, dword ptr [rsi]                                          ; +0xc8, 0x180011d18\nlea     rcx, [rsp+48h+arg_0]                                           ; +0xcc, 0x180011d1c\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0xd1, 0x180011d21\nmovaps  xmm1, xmm7                                                     ; +0xd6, 0x180011d26\nmovss   xmm6, dword ptr [rdi+4]                                        ; +0xd9, 0x180011d29\ncall    kmVec2Fill                                                     ; +0xde, 0x180011d2e\nmovaps  xmm2, xmm6                                                     ; +0xe3, 0x180011d33\nlea     rcx, [rsp+48h+arg_8]                                           ; +0xe6, 0x180011d36\nmovaps  xmm1, xmm7                                                     ; +0xeb, 0x180011d3b\nmov     rbx, rax                                                       ; +0xee, 0x180011d3e\ncall    kmVec2Fill                                                     ; +0xf1, 0x180011d41\nmov     rcx, rax; this                                                 ; +0xf6, 0x180011d46\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0xf9, 0x180011d49\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xfc, 0x180011d4c\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x101, 0x180011d51\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x106, 0x180011d56\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x10b, 0x180011d5b\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x110, 0x180011d60\nadd     rsp, 40h                                                       ; +0x115, 0x180011d65\npop     rdi                                                            ; +0x119, 0x180011d69\nretn                                                                   ; +0x11a, 0x180011d6a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b83d4"], "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"}