{"type": "func", "start": 6442941472, "end": 6442941493, "name": "cocos2d::CCEGLView::onGLFWWindowPosCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWWindowPosCallback from 0x180077c20 to 0x180077c35 (21 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4a34\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::CCEGLView::onGLFWWindowPosCallback(cocos2d::CCEGLView *this, struct GLFWwindow *a2)\n{\n  cocos2d::CCDirector *v2; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::setViewport(v2);\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWWindowPosCallback from 0x180077c20 to 0x180077c35 (21 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4a34\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\nsub     rsp, 28h                                                       ; +0x0, 0x180077c20\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x180077c24\nmov     rcx, rax; this                                                 ; +0x9, 0x180077c29\nadd     rsp, 28h                                                       ; +0xc, 0x180077c2c\njmp     ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x10, 0x180077c30", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4a34"], "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"}