{"type": "func", "start": 4299277296, "end": 4299277422, "name": "CCScrollLayerExt::preVisitWithClippingRect", "pseudocode": "// \n// CCScrollLayerExt::preVisitWithClippingRect from 0x10041c3f0 to 0x10041c46e (126 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100b3fd78\n// > <???> @ 0x100b96388\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::preVisitWithClippingRect(__int64 a1, __int64 a2)\n{\n  double v2; // rax\n  __int64 result; // rax\n  __int64 v4; // r15\n  unsigned int *v5; // rax\n  __int64 v6; // rax\n  double v7[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v7[0] = v2;\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1);\n  if ( (_BYTE)result )\n  {\n    glEnable(0xC11u);\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);\n    v5 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);\n    cocos2d::CCNode::convertToWorldSpace(v7, v4, v5);\n    v6 = cocos2d::CCEGLView::sharedOpenGLView(v7);\n    return (*(__int64 (__fastcall **)(__int64, float, float, float, float))(*(_QWORD *)v6 + 112LL))(\n             v6,\n             *(float *)v7,\n             *((float *)v7 + 1),\n             *(float *)(a2 + 8),\n             *(float *)(a2 + 12));\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::preVisitWithClippingRect from 0x10041c3f0 to 0x10041c46e (126 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100b3fd78\n; > <???> @ 0x100b96388\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, 0x10041c3f0\nmov     rbp, rsp                                                       ; +0x1, 0x10041c3f1\npush    r15                                                            ; +0x4, 0x10041c3f4\npush    r14                                                            ; +0x6, 0x10041c3f6\npush    rbx                                                            ; +0x8, 0x10041c3f8\npush    rax                                                            ; +0x9, 0x10041c3f9\nmov     rbx, rsi                                                       ; +0xa, 0x10041c3fa\nmov     r14, rdi                                                       ; +0xd, 0x10041c3fd\nmov     rax, [rdi]                                                     ; +0x10, 0x10041c400\ncall    qword ptr [rax+160h]                                           ; +0x13, 0x10041c403\ntest    al, al                                                         ; +0x19, 0x10041c409\njz      short loc_10041C463                                            ; +0x1b, 0x10041c40b\nmov     edi, 0C11h; cap                                                ; +0x1d, 0x10041c40d\ncall    _glEnable                                                      ; +0x22, 0x10041c412\nmov     rax, [r14]                                                     ; +0x27, 0x10041c417\nmov     rdi, r14                                                       ; +0x2a, 0x10041c41a\ncall    qword ptr [rax+200h]                                           ; +0x2d, 0x10041c41d\nmov     r15, rax                                                       ; +0x33, 0x10041c423\nmov     rax, [r14]                                                     ; +0x36, 0x10041c426\nmov     rdi, r14                                                       ; +0x39, 0x10041c429\ncall    qword ptr [rax+0C0h]                                           ; +0x3c, 0x10041c42c\nlea     rdi, [rbp+var_20]                                              ; +0x42, 0x10041c432\nmov     rsi, r15                                                       ; +0x46, 0x10041c436\nmov     rdx, rax                                                       ; +0x49, 0x10041c439\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x4c, 0x10041c43c\ncall    cocos2d__CCEGLView__sharedOpenGLView                           ; +0x51, 0x10041c441\nmovss   xmm0, [rbp+var_20]                                             ; +0x56, 0x10041c446\nmovss   xmm1, [rbp+var_1C]                                             ; +0x5b, 0x10041c44b\nmovss   xmm2, dword ptr [rbx+8]                                        ; +0x60, 0x10041c450\nmovss   xmm3, dword ptr [rbx+0Ch]                                      ; +0x65, 0x10041c455\nmov     rcx, [rax]                                                     ; +0x6a, 0x10041c45a\nmov     rdi, rax                                                       ; +0x6d, 0x10041c45d\ncall    qword ptr [rcx+70h]                                            ; +0x70, 0x10041c460\nadd     rsp, 8                                                         ; +0x73, 0x10041c463\npop     rbx                                                            ; +0x77, 0x10041c467\npop     r14                                                            ; +0x78, 0x10041c468\npop     r15                                                            ; +0x7a, 0x10041c46a\npop     rbp                                                            ; +0x7c, 0x10041c46c\nretn                                                                   ; +0x7d, 0x10041c46d", "xrefs": ["<???> @ 0x100b3fd78", "<???> @ 0x100b96388"], "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"}