{"type": "func", "start": 6442533872, "end": 6442534018, "name": "cocos2d::CCDrawNode::drawRect", "pseudocode": "// \n// cocos2d::CCDrawNode::drawRect from 0x1800143f0 to 0x180014482 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae440\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::drawRect(__int64 a1, __int64 a2, __m128 *a3, float a4, __m128 *a5, 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 0x1800143f0 to 0x180014482 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae440\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_0], rbx                                               ; +0x0, 0x1800143f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800143f5\npush    rdi                                                            ; +0xa, 0x1800143fa\nsub     rsp, 60h                                                       ; +0xb, 0x1800143fb\nmov     rsi, rcx                                                       ; +0xf, 0x1800143ff\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x12, 0x180014402\nlea     rcx, [rsp+68h+var_28]                                          ; +0x17, 0x180014407\nmovaps  xmm6, xmm3                                                     ; +0x1c, 0x18001440c\nmov     rdi, r8                                                        ; +0x1f, 0x18001440f\nmov     rbx, rdx                                                       ; +0x22, 0x180014412\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x25, 0x180014415\nmovss   xmm2, dword ptr [rbx+0Ch]                                      ; +0x2a, 0x18001441a\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x2f, 0x18001441f\nmovss   xmm1, dword ptr [rbx+8]                                        ; +0x34, 0x180014424\naddss   xmm2, dword ptr [rbx+4]                                        ; +0x39, 0x180014429\naddss   xmm1, dword ptr [rbx]                                          ; +0x3e, 0x18001442e\ncall    kmVec2Fill                                                     ; +0x42, 0x180014432\nmov     eax, [rsp+68h+arg_28]                                          ; +0x47, 0x180014437\nlea     r8, [rsp+68h+arg_8]                                            ; +0x4e, 0x18001443e\nmov     [rsp+68h+var_38], eax                                          ; +0x53, 0x180014443\nlea     rdx, [rsp+68h+var_28]                                          ; +0x57, 0x180014447\nmov     rax, [rsp+68h+arg_20]                                          ; +0x5c, 0x18001444c\nmov     r9, rdi                                                        ; +0x64, 0x180014454\nmov     [rsp+68h+var_40], rax                                          ; +0x67, 0x180014457\nmov     rcx, rsi                                                       ; +0x6c, 0x18001445c\nmovss   [rsp+68h+var_48], xmm6                                         ; +0x6f, 0x18001445f\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, 0x180014465\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x7a, 0x18001446a\nmov     rsi, [rsp+68h+arg_10]                                          ; +0x7f, 0x18001446f\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x87, 0x180014477\nadd     rsp, 60h                                                       ; +0x8c, 0x18001447c\npop     rdi                                                            ; +0x90, 0x180014480\nretn                                                                   ; +0x91, 0x180014481", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ae440"], "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"}