{"type": "func", "start": 6442957728, "end": 6442957745, "name": "cocos2d::CCEGLView::swapBuffers", "pseudocode": "// \n// cocos2d::CCEGLView::swapBuffers from 0x18007bba0 to 0x18007bbb1 (17 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180106fd8\n// > <???> @ 0x18014cf68\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:22:00 +0000\n// \n\nvoid __fastcall cocos2d::CCEGLView::swapBuffers(cocos2d::CCEGLView *this)\n{\n  __int64 v1; // rcx\n\n  v1 = *((_QWORD *)this + 25);\n  if ( v1 )\n  {\n    if ( *(_DWORD *)&ModuleName )\n    {\n      if ( *(_DWORD *)(v1 + 512) )\n        (*(void (**)(void))(v1 + 592))();\n      else\n        sub_1800DB260(65546, \"Cannot swap buffers of a window that has no OpenGL or OpenGL ES context\");\n    }\n    else\n    {\n      sub_1800DB260(65537, 0);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCEGLView::swapBuffers from 0x18007bba0 to 0x18007bbb1 (17 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180106fd8\n; > <???> @ 0x18014cf68\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:22:00 +0000\n; \nmov     rcx, [rcx+0C8h]                                                ; +0x0, 0x18007bba0\ntest    rcx, rcx                                                       ; +0x7, 0x18007bba7\njnz     loc_1800D7BF0                                                  ; +0xa, 0x18007bbaa\nretn                                                                   ; +0x10, 0x18007bbb0", "xrefs": ["<???> @ 0x180106fd8", "<???> @ 0x18014cf68"], "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"}