{"type": "func", "start": 4299276592, "end": 4299276821, "name": "CCScrollLayerExt::visit", "pseudocode": "// \n// CCScrollLayerExt::visit from 0x10041c130 to 0x10041c215 (229 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100b3fbe8\n// > <???> @ 0x100b961f8\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\n__int64 __fastcall CCScrollLayerExt::visit(_BYTE *a1)\n{\n  __m128 v1; // xmm3\n  __int64 result; // rax\n  _BYTE v3[16]; // [rsp+0h] [rbp-30h] BYREF\n  float v4; // [rsp+10h] [rbp-20h]\n  float v5; // [rsp+14h] [rbp-1Ch]\n  float v6; // [rsp+18h] [rbp-18h]\n  float v7; // [rsp+1Ch] [rbp-14h]\n\n  if ( a1[496] == 1 )\n  {\n    v4 = *(float *)(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 192LL))(a1);\n    v5 = *(float *)((*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 192LL))(a1) + 4);\n    v7 = *(float *)(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 328LL))(a1);\n    v7 = v7 * (*(float (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 136LL))(a1);\n    v6 = *(float *)((*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 328LL))(a1) + 4);\n    v1 = (__m128)LODWORD(v6);\n    v1.f32[0] = v6 * (*(float (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 152LL))(a1);\n    sub_100278270((__int64)v3, v4, v5, (__m128)LODWORD(v7), v1);\n    GameToolbox::preVisitWithClippingRect(a1, v3);\n  }\n  result = cocos2d::CCNode::visit((__int64)a1);\n  if ( a1[496] == 1 )\n    return GameToolbox::postClipVisit();\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::visit from 0x10041c130 to 0x10041c215 (229 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100b3fbe8\n; > <???> @ 0x100b961f8\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; \npush    rbp                                                            ; +0x0, 0x10041c130\nmov     rbp, rsp                                                       ; +0x1, 0x10041c131\npush    r14                                                            ; +0x4, 0x10041c134\npush    rbx                                                            ; +0x6, 0x10041c136\nsub     rsp, 20h                                                       ; +0x7, 0x10041c137\nmov     rbx, rdi                                                       ; +0xb, 0x10041c13b\ncmp     byte ptr [rdi+1F0h], 1                                         ; +0xe, 0x10041c13e\njnz     loc_10041C1F6                                                  ; +0x15, 0x10041c145\nmov     rax, [rbx]                                                     ; +0x1b, 0x10041c14b\nmov     rdi, rbx                                                       ; +0x1e, 0x10041c14e\ncall    qword ptr [rax+0C0h]                                           ; +0x21, 0x10041c151\nmovss   xmm0, dword ptr [rax]                                          ; +0x27, 0x10041c157\nmovss   [rbp+var_20], xmm0                                             ; +0x2b, 0x10041c15b\nmov     rax, [rbx]                                                     ; +0x30, 0x10041c160\nmov     rdi, rbx                                                       ; +0x33, 0x10041c163\ncall    qword ptr [rax+0C0h]                                           ; +0x36, 0x10041c166\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x3c, 0x10041c16c\nmovss   [rbp+var_1C], xmm0                                             ; +0x41, 0x10041c171\nmov     rax, [rbx]                                                     ; +0x46, 0x10041c176\nmov     rdi, rbx                                                       ; +0x49, 0x10041c179\ncall    qword ptr [rax+148h]                                           ; +0x4c, 0x10041c17c\nmovss   xmm0, dword ptr [rax]                                          ; +0x52, 0x10041c182\nmovss   [rbp+var_14], xmm0                                             ; +0x56, 0x10041c186\nmov     rax, [rbx]                                                     ; +0x5b, 0x10041c18b\nmov     rdi, rbx                                                       ; +0x5e, 0x10041c18e\ncall    qword ptr [rax+88h]                                            ; +0x61, 0x10041c191\nmovss   xmm1, [rbp+var_14]                                             ; +0x67, 0x10041c197\nmulss   xmm1, xmm0                                                     ; +0x6c, 0x10041c19c\nmovss   [rbp+var_14], xmm1                                             ; +0x70, 0x10041c1a0\nmov     rax, [rbx]                                                     ; +0x75, 0x10041c1a5\nmov     rdi, rbx                                                       ; +0x78, 0x10041c1a8\ncall    qword ptr [rax+148h]                                           ; +0x7b, 0x10041c1ab\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x81, 0x10041c1b1\nmovss   [rbp+var_18], xmm0                                             ; +0x86, 0x10041c1b6\nmov     rax, [rbx]                                                     ; +0x8b, 0x10041c1bb\nmov     rdi, rbx                                                       ; +0x8e, 0x10041c1be\ncall    qword ptr [rax+98h]                                            ; +0x91, 0x10041c1c1\nmovss   xmm3, [rbp+var_18]                                             ; +0x97, 0x10041c1c7\nmulss   xmm3, xmm0                                                     ; +0x9c, 0x10041c1cc\nlea     r14, [rbp+var_30]                                              ; +0xa0, 0x10041c1d0\nmov     rdi, r14                                                       ; +0xa4, 0x10041c1d4\nmovss   xmm0, [rbp+var_20]                                             ; +0xa7, 0x10041c1d7\nmovss   xmm1, [rbp+var_1C]                                             ; +0xac, 0x10041c1dc\nmovss   xmm2, [rbp+var_14]                                             ; +0xb1, 0x10041c1e1\ncall    sub_100278270                                                  ; +0xb6, 0x10041c1e6\nmov     rdi, rbx                                                       ; +0xbb, 0x10041c1eb\nmov     rsi, r14                                                       ; +0xbe, 0x10041c1ee\ncall    GameToolbox__preVisitWithClippingRect                          ; +0xc1, 0x10041c1f1\nmov     rdi, rbx                                                       ; +0xc6, 0x10041c1f6\ncall    cocos2d__CCNode__visit                                         ; +0xc9, 0x10041c1f9\ncmp     byte ptr [rbx+1F0h], 1                                         ; +0xce, 0x10041c1fe\njnz     short loc_10041C20C                                            ; +0xd5, 0x10041c205\ncall    GameToolbox__postClipVisit                                     ; +0xd7, 0x10041c207\nadd     rsp, 20h                                                       ; +0xdc, 0x10041c20c\npop     rbx                                                            ; +0xe0, 0x10041c210\npop     r14                                                            ; +0xe1, 0x10041c211\npop     rbp                                                            ; +0xe3, 0x10041c213\nretn                                                                   ; +0xe4, 0x10041c214", "xrefs": ["<???> @ 0x100b3fbe8", "<???> @ 0x100b961f8"], "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"}