{"type": "func", "start": 5369019632, "end": 5369019797, "name": "CCScrollLayerExt::preVisitWithClippingRect", "pseudocode": "// \n// CCScrollLayerExt::preVisitWithClippingRect from 0x14004bcf0 to 0x14004bd95 (165 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x14070b0b0\n// > <???> @ 0x140714aa0\n// > <???> @ 0x140885f84\n// > <???> @ 0x140885f94\n// > <???> @ 0x14090fec0\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\n__int64 __fastcall CCScrollLayerExt::preVisitWithClippingRect(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 (__fastcall *v3)(__int64); // rdi\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  __int64 v6; // rax\n  int v7; // [rsp+40h] [rbp+8h] BYREF\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 344LL))(a1);\n  if ( (_BYTE)result )\n  {\n    glEnable(0xC11u);\n    v3 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 504LL);\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1);\n    v5 = v3(a1);\n    cocos2d::CCNode::convertToWorldSpace(v5, &v7, v4);\n    v6 = cocos2d::CCEGLView::sharedOpenGLView();\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6);\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::preVisitWithClippingRect from 0x14004bcf0 to 0x14004bd95 (165 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x14070b0b0\n; > <???> @ 0x140714aa0\n; > <???> @ 0x140885f84\n; > <???> @ 0x140885f94\n; > <???> @ 0x14090fec0\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_18], rbp                                              ; +0x0, 0x14004bcf0\npush    rsi                                                            ; +0x5, 0x14004bcf5\nsub     rsp, 30h                                                       ; +0x6, 0x14004bcf6\nmov     rax, [rcx]                                                     ; +0xa, 0x14004bcfa\nmov     rbp, rdx                                                       ; +0xd, 0x14004bcfd\nmov     rsi, rcx                                                       ; +0x10, 0x14004bd00\ncall    qword ptr [rax+158h]                                           ; +0x13, 0x14004bd03\ntest    al, al                                                         ; +0x19, 0x14004bd09\njz      short loc_14004BD8A                                            ; +0x1b, 0x14004bd0b\nmov     [rsp+38h+arg_8], rbx                                           ; +0x1d, 0x14004bd0d\nmov     ecx, 0C11h; cap                                                ; +0x22, 0x14004bd12\nmov     [rsp+38h+arg_10], rdi                                          ; +0x27, 0x14004bd17\ncall    cs:glEnable                                                    ; +0x2c, 0x14004bd1c\nmov     rax, [rsi]                                                     ; +0x32, 0x14004bd22\nmov     rcx, rsi                                                       ; +0x35, 0x14004bd25\nmov     r8, [rax+0C8h]                                                 ; +0x38, 0x14004bd28\nmov     rdi, [rax+1F8h]                                                ; +0x3f, 0x14004bd2f\ncall    r8                                                             ; +0x46, 0x14004bd36\nmov     rcx, rsi                                                       ; +0x49, 0x14004bd39\nmov     rbx, rax                                                       ; +0x4c, 0x14004bd3c\ncall    rdi                                                            ; +0x4f, 0x14004bd3f\nmov     rcx, rax                                                       ; +0x51, 0x14004bd41\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x54, 0x14004bd44\nmov     r8, rbx                                                        ; +0x59, 0x14004bd49\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x5c, 0x14004bd4c\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x62, 0x14004bd52\nmovss   xmm0, dword ptr [rbp+0Ch]                                      ; +0x68, 0x14004bd58\nmovss   xmm3, dword ptr [rbp+8]                                        ; +0x6d, 0x14004bd5d\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x72, 0x14004bd62\nmov     rcx, [rax]                                                     ; +0x78, 0x14004bd68\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x7b, 0x14004bd6b\nmovss   [rsp+38h+var_18], xmm0                                         ; +0x81, 0x14004bd71\nmov     rdx, [rcx+68h]                                                 ; +0x87, 0x14004bd77\nmov     rcx, rax                                                       ; +0x8b, 0x14004bd7b\ncall    rdx                                                            ; +0x8e, 0x14004bd7e\nmov     rdi, [rsp+38h+arg_10]                                          ; +0x90, 0x14004bd80\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x95, 0x14004bd85\nmov     rbp, [rsp+38h+arg_18]                                          ; +0x9a, 0x14004bd8a\nadd     rsp, 30h                                                       ; +0x9f, 0x14004bd8f\npop     rsi                                                            ; +0xa3, 0x14004bd93\nretn                                                                   ; +0xa4, 0x14004bd94", "xrefs": ["<???> @ 0x14070b0b0", "<???> @ 0x140714aa0", "<???> @ 0x140885f84", "<???> @ 0x140885f94", "<???> @ 0x14090fec0"], "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"}