{"type": "func", "start": 5369003120, "end": 5369003268, "name": "CCScrollLayerExt::preVisitWithClippingRect", "pseudocode": "// \n// CCScrollLayerExt::preVisitWithClippingRect from 0x140047c70 to 0x140047d04 (148 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x140530448\n// > <???> @ 0x140537b20\n// > <???> @ 0x140662ef8\n// > <???> @ 0x140662f08\n// > <???> @ 0x1406c49c8\n// > <???> @ 0x1406c49d4\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\nvoid CCScrollLayerExt::preVisitWithClippingRect(CCScrollLayerExt *a1, cocos2d::CCRect *a2)\n{\n  cocos2d::CCNode *v3; // rax\n  __int64 v4; // rax\n  struct cocos2d::CCPoint v5; // [rsp+40h] [rbp+8h] BYREF\n\n  if ( a1->isVisible(a1) )\n  {\n    glEnable(0xC11u);\n    a1->getPosition_0(a1);\n    v3 = a1->getParent(a1);\n    cocos2d::CCNode::convertToWorldSpace(v3, &v5);\n    v4 = cocos2d::CCEGLView::sharedOpenGLView();\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4);\n  }\n}", "assembly": "; \n; CCScrollLayerExt::preVisitWithClippingRect from 0x140047c70 to 0x140047d04 (148 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x140530448\n; > <???> @ 0x140537b20\n; > <???> @ 0x140662ef8\n; > <???> @ 0x140662f08\n; > <???> @ 0x1406c49c8\n; > <???> @ 0x1406c49d4\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_10], rsi                                              ; +0x0, 0x140047c70\npush    rdi                                                            ; +0x5, 0x140047c75\nsub     rsp, 30h                                                       ; +0x6, 0x140047c76\nmov     rax, [rcx]                                                     ; +0xa, 0x140047c7a\nmov     rsi, rdx                                                       ; +0xd, 0x140047c7d\nmov     rdi, rcx                                                       ; +0x10, 0x140047c80\ncall    qword ptr [rax+148h]                                           ; +0x13, 0x140047c83\ntest    al, al                                                         ; +0x19, 0x140047c89\njz      short loc_140047CF9                                            ; +0x1b, 0x140047c8b\nmov     ecx, 0C11h; cap                                                ; +0x1d, 0x140047c8d\nmov     [rsp+38h+arg_8], rbx                                           ; +0x22, 0x140047c92\ncall    cs:glEnable                                                    ; +0x27, 0x140047c97\nmov     rax, [rdi]                                                     ; +0x2d, 0x140047c9d\nmov     rcx, rdi                                                       ; +0x30, 0x140047ca0\ncall    qword ptr [rax+0C8h]                                           ; +0x33, 0x140047ca3\nmov     rdx, [rdi]                                                     ; +0x39, 0x140047ca9\nmov     rcx, rdi                                                       ; +0x3c, 0x140047cac\nmov     rbx, rax                                                       ; +0x3f, 0x140047caf\ncall    qword ptr [rdx+1E8h]                                           ; +0x42, 0x140047cb2\nmov     r8, rbx                                                        ; +0x48, 0x140047cb8\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x4b, 0x140047cbb\nmov     rcx, rax                                                       ; +0x50, 0x140047cc0\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x53, 0x140047cc3\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x59, 0x140047cc9\nmovss   xmm0, dword ptr [rsi+0Ch]                                      ; +0x5f, 0x140047ccf\nmov     rcx, rax                                                       ; +0x64, 0x140047cd4\nmovss   xmm3, dword ptr [rsi+8]                                        ; +0x67, 0x140047cd7\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x6c, 0x140047cdc\nmov     rdx, [rax]                                                     ; +0x72, 0x140047ce2\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x75, 0x140047ce5\nmovss   [rsp+38h+var_18], xmm0                                         ; +0x7b, 0x140047ceb\ncall    qword ptr [rdx+68h]                                            ; +0x81, 0x140047cf1\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x84, 0x140047cf4\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x89, 0x140047cf9\nadd     rsp, 30h                                                       ; +0x8e, 0x140047cfe\npop     rdi                                                            ; +0x92, 0x140047d02\nretn                                                                   ; +0x93, 0x140047d03", "xrefs": ["<???> @ 0x140530448", "<???> @ 0x140537b20", "<???> @ 0x140662ef8", "<???> @ 0x140662f08", "<???> @ 0x1406c49c8", "<???> @ 0x1406c49d4"], "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"}