{"type": "func", "start": 6443249248, "end": 6443249326, "name": "cocos2d::CCDirector::setGLDefaultValues", "pseudocode": "// \n// cocos2d::CCDirector::setGLDefaultValues from 0x1800c2e60 to 0x1800c2eae (78 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e275\n// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006e60e\n// > cocos2d::CCDirector::setOpenGLView @ 0x1800c311f\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c35d0\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:26 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::setGLDefaultValues(cocos2d::CCDirector *this)\n{\n  cocos2d::ccGLBlendFunc(1u, 0x303u);\n  glDisable(0xB71u);\n  cocos2d::CCDirector::setProjection(this, *((unsigned int *)this + 79));\n  glClearColor(0.0, 0.0, 0.0, 1.0);\n}", "assembly": "; \n; cocos2d::CCDirector::setGLDefaultValues from 0x1800c2e60 to 0x1800c2eae (78 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e275\n; > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006e60e\n; > cocos2d::CCDirector::setOpenGLView @ 0x1800c311f\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c35d0\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:26 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c2e60\nsub     rsp, 20h                                                       ; +0x2, 0x1800c2e62\nmov     rbx, rcx                                                       ; +0x6, 0x1800c2e66\nmov     edx, 303h; dfactor                                             ; +0x9, 0x1800c2e69\nmov     ecx, 1; sfactor                                                ; +0xe, 0x1800c2e6e\ncall    ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x13, 0x1800c2e73\nmov     ecx, 0B71h; cap                                                ; +0x18, 0x1800c2e78\ncall    cs:glDisable                                                   ; +0x1d, 0x1800c2e7d\nmov     edx, [rbx+13Ch]                                                ; +0x23, 0x1800c2e83\nmov     rcx, rbx                                                       ; +0x29, 0x1800c2e89\ncall    ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x2c, 0x1800c2e8c\nmovss   xmm3, cs:flt_1800EC208                                         ; +0x31, 0x1800c2e91\nxorps   xmm2, xmm2                                                     ; +0x39, 0x1800c2e99\nxorps   xmm1, xmm1                                                     ; +0x3c, 0x1800c2e9c\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x1800c2e9f\nadd     rsp, 20h                                                       ; +0x42, 0x1800c2ea2\npop     rbx                                                            ; +0x46, 0x1800c2ea6\njmp     cs:glClearColor                                                ; +0x47, 0x1800c2ea7", "xrefs": ["cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e275", "cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006e60e", "cocos2d::CCDirector::setOpenGLView @ 0x1800c311f", "<???> @ 0x18014cf68", "<???> @ 0x1801c35d0"], "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"}