{"type": "func", "start": 6442533904, "end": 6442534050, "name": "cocos2d::CCDrawNode::drawRect", "pseudocode": "// \n// cocos2d::CCDrawNode::drawRect from 0x180014410 to 0x1800144a2 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8500\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::drawRect(\n        __int64 a1,\n        __int64 a2,\n        __m128 *a3,\n        float a4,\n        unsigned __int64 a5,\n        int a6)\n{\n  float v10[4]; // [rsp+40h] [rbp-28h] BYREF\n  float v11; // [rsp+78h] [rbp+10h] BYREF\n\n  cocos2d::cc_timeval::operator=(v10, (_DWORD *)a2);\n  kmVec2Fill(&v11, *(float *)(a2 + 8) + *(float *)a2, *(float *)(a2 + 12) + *(float *)(a2 + 4));\n  return cocos2d::CCDrawNode::drawRect(a1, v10, &v11, a3, a4, a5, a6);\n}", "assembly": "; \n; cocos2d::CCDrawNode::drawRect from 0x180014410 to 0x1800144a2 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8500\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_0], rbx                                               ; +0x0, 0x180014410\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180014415\npush    rdi                                                            ; +0xa, 0x18001441a\nsub     rsp, 60h                                                       ; +0xb, 0x18001441b\nmov     rsi, rcx                                                       ; +0xf, 0x18001441f\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x12, 0x180014422\nlea     rcx, [rsp+68h+var_28]                                          ; +0x17, 0x180014427\nmovaps  xmm6, xmm3                                                     ; +0x1c, 0x18001442c\nmov     rdi, r8                                                        ; +0x1f, 0x18001442f\nmov     rbx, rdx                                                       ; +0x22, 0x180014432\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x25, 0x180014435\nmovss   xmm2, dword ptr [rbx+0Ch]                                      ; +0x2a, 0x18001443a\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x2f, 0x18001443f\nmovss   xmm1, dword ptr [rbx+8]                                        ; +0x34, 0x180014444\naddss   xmm2, dword ptr [rbx+4]                                        ; +0x39, 0x180014449\naddss   xmm1, dword ptr [rbx]                                          ; +0x3e, 0x18001444e\ncall    kmVec2Fill                                                     ; +0x42, 0x180014452\nmov     eax, [rsp+68h+arg_28]                                          ; +0x47, 0x180014457\nlea     r8, [rsp+68h+arg_8]                                            ; +0x4e, 0x18001445e\nmov     [rsp+68h+var_38], eax                                          ; +0x53, 0x180014463\nlea     rdx, [rsp+68h+var_28]                                          ; +0x57, 0x180014467\nmov     rax, [rsp+68h+arg_20]                                          ; +0x5c, 0x18001446c\nmov     r9, rdi                                                        ; +0x64, 0x180014474\nmov     [rsp+68h+var_40], rax                                          ; +0x67, 0x180014477\nmov     rcx, rsi                                                       ; +0x6c, 0x18001447c\nmovss   [rsp+68h+var_48], xmm6                                         ; +0x6f, 0x18001447f\ncall    ?drawRect@CCDrawNode@cocos2d@@QEAA_NAEBVCCPoint@2@0AEBU_ccColor4F@2@M1W4BorderAlignment@2@@Z; cocos2d::CCDrawNode::drawRect(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::_ccColor4F const &,float,cocos2d::_ccColor4F const &,cocos2d::BorderAlignment) ; +0x75, 0x180014485\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x7a, 0x18001448a\nmov     rsi, [rsp+68h+arg_10]                                          ; +0x7f, 0x18001448f\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x87, 0x180014497\nadd     rsp, 60h                                                       ; +0x8c, 0x18001449c\npop     rdi                                                            ; +0x90, 0x1800144a0\nretn                                                                   ; +0x91, 0x1800144a1", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8500"], "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"}