{"type": "func", "start": 6442530720, "end": 6442530829, "name": "cocos2d::extension::CCScrollView::afterDraw", "pseudocode": "// \n// cocos2d::extension::CCScrollView::afterDraw from 0x1800137a0 to 0x18001380d (109 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a530\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 __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 0x1800137a0 to 0x18001380d (109 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a530\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\npush    rbx                                                            ; +0x0, 0x1800137a0\nsub     rsp, 30h                                                       ; +0x2, 0x1800137a2\ncmp     byte ptr [rcx+1DDh], 0                                         ; +0x6, 0x1800137a6\nmov     rbx, rcx                                                       ; +0xd, 0x1800137ad\njz      short loc_180013807                                            ; +0x10, 0x1800137b0\ncmp     byte ptr [rcx+220h], 0                                         ; +0x12, 0x1800137b2\njz      short loc_1800137F6                                            ; +0x19, 0x1800137b9\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x1b, 0x1800137bb\nmovss   xmm0, dword ptr [rbx+21Ch]                                     ; +0x21, 0x1800137c1\nmov     rcx, rax                                                       ; +0x29, 0x1800137c9\nmovss   xmm3, dword ptr [rbx+218h]                                     ; +0x2c, 0x1800137cc\nmovss   xmm2, dword ptr [rbx+214h]                                     ; +0x34, 0x1800137d4\nmov     rdx, [rax]                                                     ; +0x3c, 0x1800137dc\nmovss   xmm1, dword ptr [rbx+210h]                                     ; +0x3f, 0x1800137df\nmovss   [rsp+38h+var_18], xmm0                                         ; +0x47, 0x1800137e7\ncall    qword ptr [rdx+68h]                                            ; +0x4d, 0x1800137ed\nadd     rsp, 30h                                                       ; +0x50, 0x1800137f0\npop     rbx                                                            ; +0x54, 0x1800137f4\nretn                                                                   ; +0x55, 0x1800137f5\nmov     ecx, 0C11h                                                     ; +0x56, 0x1800137f6\nadd     rsp, 30h                                                       ; +0x5b, 0x1800137fb\npop     rbx                                                            ; +0x5f, 0x1800137ff\njmp     cs:glDisable                                                   ; +0x60, 0x180013800\nadd     rsp, 30h                                                       ; +0x67, 0x180013807\npop     rbx                                                            ; +0x6b, 0x18001380b\nretn                                                                   ; +0x6c, 0x18001380c", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a530"], "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"}