{"type": "func", "start": 4299277024, "end": 4299277259, "name": "CCScrollLayerExt::touchInsideClip", "pseudocode": "// \n// CCScrollLayerExt::touchInsideClip from 0x10041c2e0 to 0x10041c3cb (235 bytes)\n// \n// 3 xrefs:\n// > sub_10041C3D0 @ 0x10041c3dc\n// > <???> @ 0x100b3fd88\n// > <???> @ 0x100b96398\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 12:30:13 +0000\n// \n\nbool __fastcall CCScrollLayerExt::touchInsideClip(_BYTE *a1, float *a2)\n{\n  bool result; // al\n  __m128 v4; // xmm3\n  float v5[4]; // [rsp-58h] [rbp-58h] BYREF\n  _BYTE v6[16]; // [rsp-48h] [rbp-48h] BYREF\n  float v7; // [rsp-38h] [rbp-38h]\n  float v8; // [rsp-34h] [rbp-34h]\n  unsigned int v9; // [rsp-30h] [rbp-30h]\n  unsigned int v10; // [rsp-2Ch] [rbp-2Ch]\n\n  result = 1;\n  if ( a1[496] == 1 )\n  {\n    v7 = *(float *)(*(__int64 (**)(void))(*(_QWORD *)a1 + 192LL))();\n    v8 = *(float *)((*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 192LL))(a1) + 4);\n    v10 = *(unsigned int *)(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 328LL))(a1);\n    *(float *)&v10 = *(float *)&v10 * (*(float (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 136LL))(a1);\n    v9 = *(unsigned int *)((*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 328LL))(a1) + 4);\n    v4 = (__m128)v9;\n    v4.f32[0] = *(float *)&v9 * (*(float (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 152LL))(a1);\n    sub_100278270((__int64)v6, v7, v8, (__m128)v10, v4);\n    sub_1004EAAD0(v5, a1, v6);\n    return sub_100278940(v5, a2);\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::touchInsideClip from 0x10041c2e0 to 0x10041c3cb (235 bytes)\n; \n; 3 xrefs:\n; > sub_10041C3D0 @ 0x10041c3dc\n; > <???> @ 0x100b3fd88\n; > <???> @ 0x100b96398\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 12:30:13 +0000\n; \nmov     al, 1                                                          ; +0x0, 0x10041c2e0\ncmp     byte ptr [rdi+1F0h], 1                                         ; +0x2, 0x10041c2e2\njnz     locret_10041C3CA                                               ; +0x9, 0x10041c2e9\npush    rbp                                                            ; +0xf, 0x10041c2ef\nmov     rbp, rsp                                                       ; +0x10, 0x10041c2f0\npush    r15                                                            ; +0x13, 0x10041c2f3\npush    r14                                                            ; +0x15, 0x10041c2f5\npush    r12                                                            ; +0x17, 0x10041c2f7\npush    rbx                                                            ; +0x19, 0x10041c2f9\nsub     rsp, 30h                                                       ; +0x1a, 0x10041c2fa\nmov     rax, [rdi]                                                     ; +0x1e, 0x10041c2fe\nmov     r14, rdi                                                       ; +0x21, 0x10041c301\nmov     rbx, rsi                                                       ; +0x24, 0x10041c304\ncall    qword ptr [rax+0C0h]                                           ; +0x27, 0x10041c307\nmovss   xmm0, dword ptr [rax]                                          ; +0x2d, 0x10041c30d\nmovss   dword ptr [rbp-30h], xmm0                                      ; +0x31, 0x10041c311\nmov     rax, [r14]                                                     ; +0x36, 0x10041c316\nmov     rdi, r14                                                       ; +0x39, 0x10041c319\ncall    qword ptr [rax+0C0h]                                           ; +0x3c, 0x10041c31c\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x42, 0x10041c322\nmovss   dword ptr [rbp-2Ch], xmm0                                      ; +0x47, 0x10041c327\nmov     rax, [r14]                                                     ; +0x4c, 0x10041c32c\nmov     rdi, r14                                                       ; +0x4f, 0x10041c32f\ncall    qword ptr [rax+148h]                                           ; +0x52, 0x10041c332\nmovss   xmm0, dword ptr [rax]                                          ; +0x58, 0x10041c338\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x5c, 0x10041c33c\nmov     rax, [r14]                                                     ; +0x61, 0x10041c341\nmov     rdi, r14                                                       ; +0x64, 0x10041c344\ncall    qword ptr [rax+88h]                                            ; +0x67, 0x10041c347\nmovss   xmm1, dword ptr [rbp-24h]                                      ; +0x6d, 0x10041c34d\nmulss   xmm1, xmm0                                                     ; +0x72, 0x10041c352\nmovss   dword ptr [rbp-24h], xmm1                                      ; +0x76, 0x10041c356\nmov     rax, [r14]                                                     ; +0x7b, 0x10041c35b\nmov     rdi, r14                                                       ; +0x7e, 0x10041c35e\ncall    qword ptr [rax+148h]                                           ; +0x81, 0x10041c361\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x87, 0x10041c367\nmovss   dword ptr [rbp-28h], xmm0                                      ; +0x8c, 0x10041c36c\nmov     rax, [r14]                                                     ; +0x91, 0x10041c371\nmov     rdi, r14                                                       ; +0x94, 0x10041c374\ncall    qword ptr [rax+98h]                                            ; +0x97, 0x10041c377\nmovss   xmm3, dword ptr [rbp-28h]                                      ; +0x9d, 0x10041c37d\nmulss   xmm3, xmm0                                                     ; +0xa2, 0x10041c382\nlea     r15, [rbp-40h]                                                 ; +0xa6, 0x10041c386\nmov     rdi, r15                                                       ; +0xaa, 0x10041c38a\nmovss   xmm0, dword ptr [rbp-30h]                                      ; +0xad, 0x10041c38d\nmovss   xmm1, dword ptr [rbp-2Ch]                                      ; +0xb2, 0x10041c392\nmovss   xmm2, dword ptr [rbp-24h]                                      ; +0xb7, 0x10041c397\ncall    sub_100278270                                                  ; +0xbc, 0x10041c39c\nlea     r12, [rbp-50h]                                                 ; +0xc1, 0x10041c3a1\nmov     rdi, r12                                                       ; +0xc5, 0x10041c3a5\nmov     rsi, r14                                                       ; +0xc8, 0x10041c3a8\nmov     rdx, r15                                                       ; +0xcb, 0x10041c3ab\ncall    sub_1004EAAD0                                                  ; +0xce, 0x10041c3ae\nmov     rdi, r12                                                       ; +0xd3, 0x10041c3b3\nmov     rsi, rbx                                                       ; +0xd6, 0x10041c3b6\ncall    sub_100278940                                                  ; +0xd9, 0x10041c3b9\nadd     rsp, 30h                                                       ; +0xde, 0x10041c3be\npop     rbx                                                            ; +0xe2, 0x10041c3c2\npop     r12                                                            ; +0xe3, 0x10041c3c3\npop     r14                                                            ; +0xe5, 0x10041c3c5\npop     r15                                                            ; +0xe7, 0x10041c3c7\npop     rbp                                                            ; +0xe9, 0x10041c3c9\nretn                                                                   ; +0xea, 0x10041c3ca", "xrefs": ["sub_10041C3D0 @ 0x10041c3dc", "<???> @ 0x100b3fd88", "<???> @ 0x100b96398"], "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"}