{"type": "func", "start": 6442529456, "end": 6442529565, "name": "cocos2d::extension::CCScrollView::afterDraw", "pseudocode": "// \n// cocos2d::extension::CCScrollView::afterDraw from 0x1800132b0 to 0x18001331d (109 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c458\n// > <???> @ 0x18004c464\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:15:40 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCScrollView::afterDraw(cocos2d::extension::CCScrollView *this)\n{\n  __int64 v1; // rax\n\n  if ( *((_BYTE *)this + 477) )\n  {\n    if ( *((_BYTE *)this + 544) )\n    {\n      v1 = cocos2d::CCEGLView::sharedOpenGLView();\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 104LL))(v1);\n    }\n    else\n    {\n      glDisable(0xC11u);\n    }\n  }\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::afterDraw from 0x1800132b0 to 0x18001331d (109 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c458\n; > <???> @ 0x18004c464\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:15:40 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800132b0\nsub     rsp, 30h                                                       ; +0x2, 0x1800132b2\ncmp     byte ptr [rcx+1DDh], 0                                         ; +0x6, 0x1800132b6\nmov     rbx, rcx                                                       ; +0xd, 0x1800132bd\njz      short loc_180013317                                            ; +0x10, 0x1800132c0\ncmp     byte ptr [rcx+220h], 0                                         ; +0x12, 0x1800132c2\njz      short loc_180013306                                            ; +0x19, 0x1800132c9\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x1b, 0x1800132cb\nmovss   xmm0, dword ptr [rbx+21Ch]                                     ; +0x21, 0x1800132d1\nmov     rcx, rax                                                       ; +0x29, 0x1800132d9\nmovss   xmm3, dword ptr [rbx+218h]                                     ; +0x2c, 0x1800132dc\nmovss   xmm2, dword ptr [rbx+214h]                                     ; +0x34, 0x1800132e4\nmov     rdx, [rax]                                                     ; +0x3c, 0x1800132ec\nmovss   xmm1, dword ptr [rbx+210h]                                     ; +0x3f, 0x1800132ef\nmovss   [rsp+38h+var_18], xmm0                                         ; +0x47, 0x1800132f7\ncall    qword ptr [rdx+68h]                                            ; +0x4d, 0x1800132fd\nadd     rsp, 30h                                                       ; +0x50, 0x180013300\npop     rbx                                                            ; +0x54, 0x180013304\nretn                                                                   ; +0x55, 0x180013305\nmov     ecx, 0C11h                                                     ; +0x56, 0x180013306\nadd     rsp, 30h                                                       ; +0x5b, 0x18001330b\npop     rbx                                                            ; +0x5f, 0x18001330f\njmp     cs:glDisable                                                   ; +0x60, 0x180013310\nadd     rsp, 30h                                                       ; +0x67, 0x180013317\npop     rbx                                                            ; +0x6b, 0x18001331b\nretn                                                                   ; +0x6c, 0x18001331c", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c458", "<???> @ 0x18004c464"], "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"}