{"type": "func", "start": 6442523344, "end": 6442523589, "name": "cocos2d::ccDrawRect", "pseudocode": "// \n// cocos2d::ccDrawRect from 0x180011ad0 to 0x180011bc5 (245 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae320\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\nvoid __fastcall cocos2d::ccDrawRect(cocos2d *this, struct cocos2d::CCPoint a2, struct cocos2d::CCPoint a3)\n{\n  const struct cocos2d::CCPoint *v5; // rbx\n  float *v6; // rax\n  const struct cocos2d::CCPoint *v7; // r8\n  const struct cocos2d::CCPoint *v8; // rbx\n  float *v9; // rax\n  const struct cocos2d::CCPoint *v10; // r8\n  const struct cocos2d::CCPoint *v11; // rbx\n  float *v12; // rax\n  const struct cocos2d::CCPoint *v13; // r8\n  const struct cocos2d::CCPoint *v14; // rbx\n  float *v15; // rax\n  const struct cocos2d::CCPoint *v16; // r8\n  float v17; // [rsp+30h] [rbp+8h] BYREF\n  float v18; // [rsp+38h] [rbp+10h] BYREF\n\n  v5 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v17, **(float **)&a2, *((float *)this + 1));\n  v6 = kmVec2Fill(&v18, *(float *)this, *((float *)this + 1));\n  cocos2d::ccDrawLine((cocos2d *)v6, v5, v7);\n  v8 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v17, **(float **)&a2, *(float *)(*(_QWORD *)&a2 + 4LL));\n  v9 = kmVec2Fill(&v18, **(float **)&a2, *((float *)this + 1));\n  cocos2d::ccDrawLine((cocos2d *)v9, v8, v10);\n  v11 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v17, *(float *)this, *(float *)(*(_QWORD *)&a2 + 4LL));\n  v12 = kmVec2Fill(&v18, **(float **)&a2, *(float *)(*(_QWORD *)&a2 + 4LL));\n  cocos2d::ccDrawLine((cocos2d *)v12, v11, v13);\n  v14 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v17, *(float *)this, *((float *)this + 1));\n  v15 = kmVec2Fill(&v18, *(float *)this, *(float *)(*(_QWORD *)&a2 + 4LL));\n  cocos2d::ccDrawLine((cocos2d *)v15, v14, v16);\n}", "assembly": "; \n; cocos2d::ccDrawRect from 0x180011ad0 to 0x180011bc5 (245 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae320\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_10], rbx                                              ; +0x0, 0x180011ad0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180011ad5\npush    rdi                                                            ; +0xa, 0x180011ada\nsub     rsp, 20h                                                       ; +0xb, 0x180011adb\nmovss   xmm2, dword ptr [rcx+4]                                        ; +0xf, 0x180011adf\nmov     rsi, rcx                                                       ; +0x14, 0x180011ae4\nmovss   xmm1, dword ptr [rdx]                                          ; +0x17, 0x180011ae7\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1b, 0x180011aeb\nmov     rdi, rdx                                                       ; +0x20, 0x180011af0\ncall    kmVec2Fill                                                     ; +0x23, 0x180011af3\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0x28, 0x180011af8\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x2d, 0x180011afd\nmovss   xmm1, dword ptr [rsi]                                          ; +0x32, 0x180011b02\nmov     rbx, rax                                                       ; +0x36, 0x180011b06\ncall    kmVec2Fill                                                     ; +0x39, 0x180011b09\nmov     rcx, rax; this                                                 ; +0x3e, 0x180011b0e\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0x41, 0x180011b11\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x44, 0x180011b14\nmovss   xmm2, dword ptr [rdi+4]                                        ; +0x49, 0x180011b19\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x4e, 0x180011b1e\nmovss   xmm1, dword ptr [rdi]                                          ; +0x53, 0x180011b23\ncall    kmVec2Fill                                                     ; +0x57, 0x180011b27\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0x5c, 0x180011b2c\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x61, 0x180011b31\nmovss   xmm1, dword ptr [rdi]                                          ; +0x66, 0x180011b36\nmov     rbx, rax                                                       ; +0x6a, 0x180011b3a\ncall    kmVec2Fill                                                     ; +0x6d, 0x180011b3d\nmov     rcx, rax; this                                                 ; +0x72, 0x180011b42\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0x75, 0x180011b45\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x78, 0x180011b48\nmovss   xmm2, dword ptr [rdi+4]                                        ; +0x7d, 0x180011b4d\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x82, 0x180011b52\nmovss   xmm1, dword ptr [rsi]                                          ; +0x87, 0x180011b57\ncall    kmVec2Fill                                                     ; +0x8b, 0x180011b5b\nmovss   xmm2, dword ptr [rdi+4]                                        ; +0x90, 0x180011b60\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x95, 0x180011b65\nmovss   xmm1, dword ptr [rdi]                                          ; +0x9a, 0x180011b6a\nmov     rbx, rax                                                       ; +0x9e, 0x180011b6e\ncall    kmVec2Fill                                                     ; +0xa1, 0x180011b71\nmov     rcx, rax; this                                                 ; +0xa6, 0x180011b76\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0xa9, 0x180011b79\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xac, 0x180011b7c\nmovss   xmm2, dword ptr [rsi+4]                                        ; +0xb1, 0x180011b81\nlea     rcx, [rsp+28h+arg_0]                                           ; +0xb6, 0x180011b86\nmovss   xmm1, dword ptr [rsi]                                          ; +0xbb, 0x180011b8b\ncall    kmVec2Fill                                                     ; +0xbf, 0x180011b8f\nmovss   xmm2, dword ptr [rdi+4]                                        ; +0xc4, 0x180011b94\nlea     rcx, [rsp+28h+arg_8]                                           ; +0xc9, 0x180011b99\nmovss   xmm1, dword ptr [rsi]                                          ; +0xce, 0x180011b9e\nmov     rbx, rax                                                       ; +0xd2, 0x180011ba2\ncall    kmVec2Fill                                                     ; +0xd5, 0x180011ba5\nmov     rcx, rax; this                                                 ; +0xda, 0x180011baa\nmov     rdx, rbx; struct cocos2d::CCPoint *                            ; +0xdd, 0x180011bad\ncall    ?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xe0, 0x180011bb0\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xe5, 0x180011bb5\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xea, 0x180011bba\nadd     rsp, 20h                                                       ; +0xef, 0x180011bbf\npop     rdi                                                            ; +0xf3, 0x180011bc3\nretn                                                                   ; +0xf4, 0x180011bc4", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ae320"], "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"}