{"type": "func", "start": 5369019200, "end": 5369019418, "name": "CCScrollLayerExt::scissorRect", "pseudocode": "// \n// CCScrollLayerExt::scissorRect from 0x14004bb40 to 0x14004bc1a (218 bytes)\n// \n// 4 xrefs:\n// > CCScrollLayerExt::visit @ 0x14004bb07\n// > CCScrollLayerExt::touchInsideClip @ 0x14004bc4d\n// > <???> @ 0x14090fe9c\n// > <???> @ 0x14090fea8\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:25:33 +0000\n// \n\ncocos2d::CCRect *__fastcall CCScrollLayerExt::scissorRect(__int64 a1, cocos2d::CCRect *a2)\n{\n  float *v4; // rbx\n  float *v5; // rdi\n  float v6; // xmm6_4\n  double v7; // xmm0_8\n  float v8; // xmm8_4\n  float v9; // xmm6_4\n  double v10; // xmm0_8\n  __int64 v11; // rax\n\n  v4 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  v5 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1);\n  v6 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1) + 4);\n  v7 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a1 + 144LL))(a1);\n  v8 = *(float *)&v7 * v6;\n  v9 = *v4;\n  v10 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a1 + 128LL))(a1);\n  v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1);\n  cocos2d::CCRect::CCRect(a2, *v5, *(float *)(v11 + 4), *(float *)&v10 * v9, v8);\n  return a2;\n}", "assembly": "; \n; CCScrollLayerExt::scissorRect from 0x14004bb40 to 0x14004bc1a (218 bytes)\n; \n; 4 xrefs:\n; > CCScrollLayerExt::visit @ 0x14004bb07\n; > CCScrollLayerExt::touchInsideClip @ 0x14004bc4d\n; > <???> @ 0x14090fe9c\n; > <???> @ 0x14090fea8\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:25:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14004bb40\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14004bb45\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14004bb4a\npush    rdi                                                            ; +0xf, 0x14004bb4f\nsub     rsp, 60h                                                       ; +0x10, 0x14004bb50\nmov     rax, [rcx]                                                     ; +0x14, 0x14004bb54\nmov     rbp, rdx                                                       ; +0x17, 0x14004bb57\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x1a, 0x14004bb5a\nmov     rsi, rcx                                                       ; +0x1f, 0x14004bb5f\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0x22, 0x14004bb62\nmovaps  [rsp+68h+var_38], xmm8                                         ; +0x27, 0x14004bb67\ncall    qword ptr [rax+140h]                                           ; +0x2d, 0x14004bb6d\nmov     r8, [rsi]                                                      ; +0x33, 0x14004bb73\nmov     rcx, rsi                                                       ; +0x36, 0x14004bb76\nmov     rbx, rax                                                       ; +0x39, 0x14004bb79\ncall    qword ptr [r8+0C8h]                                            ; +0x3c, 0x14004bb7c\nmov     r8, [rsi]                                                      ; +0x43, 0x14004bb83\nmov     rcx, rsi                                                       ; +0x46, 0x14004bb86\nmov     rdi, rax                                                       ; +0x49, 0x14004bb89\ncall    qword ptr [r8+140h]                                            ; +0x4c, 0x14004bb8c\nmov     rcx, [rsi]                                                     ; +0x53, 0x14004bb93\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x56, 0x14004bb96\nmov     rdx, [rcx+90h]                                                 ; +0x5b, 0x14004bb9b\nmov     rcx, rsi                                                       ; +0x62, 0x14004bba2\ncall    rdx                                                            ; +0x65, 0x14004bba5\nmov     rax, [rsi]                                                     ; +0x67, 0x14004bba7\nmovaps  xmm8, xmm0                                                     ; +0x6a, 0x14004bbaa\nmulss   xmm8, xmm6                                                     ; +0x6e, 0x14004bbae\nmov     rcx, rsi                                                       ; +0x73, 0x14004bbb3\nmovss   xmm6, dword ptr [rbx]                                          ; +0x76, 0x14004bbb6\ncall    qword ptr [rax+80h]                                            ; +0x7a, 0x14004bbba\nmov     rax, [rsi]                                                     ; +0x80, 0x14004bbc0\nmov     rcx, rsi                                                       ; +0x83, 0x14004bbc3\nmovaps  xmm7, xmm0                                                     ; +0x86, 0x14004bbc6\nmulss   xmm7, xmm6                                                     ; +0x89, 0x14004bbc9\ncall    qword ptr [rax+0C8h]                                           ; +0x8d, 0x14004bbcd\nmovss   xmm1, dword ptr [rdi]                                          ; +0x93, 0x14004bbd3\nmovaps  xmm3, xmm7                                                     ; +0x97, 0x14004bbd7\nmov     rcx, rbp                                                       ; +0x9a, 0x14004bbda\nmovss   [rsp+68h+var_48], xmm8                                         ; +0x9d, 0x14004bbdd\nmovss   xmm2, dword ptr [rax+4]                                        ; +0xa4, 0x14004bbe4\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xa9, 0x14004bbe9\nmov     rbx, [rsp+68h+arg_0]                                           ; +0xaf, 0x14004bbef\nmov     rax, rbp                                                       ; +0xb4, 0x14004bbf4\nmov     rbp, [rsp+68h+arg_8]                                           ; +0xb7, 0x14004bbf7\nmov     rsi, [rsp+68h+arg_10]                                          ; +0xbc, 0x14004bbfc\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0xc4, 0x14004bc04\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0xc9, 0x14004bc09\nmovaps  xmm8, [rsp+68h+var_38]                                         ; +0xce, 0x14004bc0e\nadd     rsp, 60h                                                       ; +0xd4, 0x14004bc14\npop     rdi                                                            ; +0xd8, 0x14004bc18\nretn                                                                   ; +0xd9, 0x14004bc19", "xrefs": ["CCScrollLayerExt::visit @ 0x14004bb07", "CCScrollLayerExt::touchInsideClip @ 0x14004bc4d", "<???> @ 0x14090fe9c", "<???> @ 0x14090fea8"], "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"}