{"type": "func", "start": 6443234864, "end": 6443234942, "name": "cocos2d::CCDirector::setGLDefaultValues", "pseudocode": "// \n// cocos2d::CCDirector::setGLDefaultValues from 0x1800bf630 to 0x1800bf67e (78 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c033\n// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c3ab\n// > cocos2d::CCDirector::setOpenGLView @ 0x1800bf8ef\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b930c\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::CCDirector::setGLDefaultValues(cocos2d::CCDirector *this)\n{\n  cocos2d::ccGLBlendFunc(1u, 0x303u);\n  glDisable(0xB71u);\n  cocos2d::CCDirector::setProjection(this, this->m_eProjection);\n  glClearColor(0.0, 0.0, 0.0, 1.0);\n}", "assembly": "; \n; cocos2d::CCDirector::setGLDefaultValues from 0x1800bf630 to 0x1800bf67e (78 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c033\n; > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c3ab\n; > cocos2d::CCDirector::setOpenGLView @ 0x1800bf8ef\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b930c\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, 0x1800bf630\nsub     rsp, 20h                                                       ; +0x2, 0x1800bf632\nmov     rbx, rcx                                                       ; +0x6, 0x1800bf636\nmov     edx, 303h; dfactor                                             ; +0x9, 0x1800bf639\nmov     ecx, 1; sfactor                                                ; +0xe, 0x1800bf63e\ncall    ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x13, 0x1800bf643\nmov     ecx, 0B71h; cap                                                ; +0x18, 0x1800bf648\ncall    cs:glDisable                                                   ; +0x1d, 0x1800bf64d\nmov     edx, [rbx+134h]                                                ; +0x23, 0x1800bf653\nmov     rcx, rbx                                                       ; +0x29, 0x1800bf659\ncall    ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x2c, 0x1800bf65c\nmovss   xmm3, cs:flt_1800E61A8                                         ; +0x31, 0x1800bf661\nxorps   xmm2, xmm2                                                     ; +0x39, 0x1800bf669\nxorps   xmm1, xmm1                                                     ; +0x3c, 0x1800bf66c\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x1800bf66f\nadd     rsp, 20h                                                       ; +0x42, 0x1800bf672\npop     rbx                                                            ; +0x46, 0x1800bf676\njmp     cs:glClearColor                                                ; +0x47, 0x1800bf677", "xrefs": ["cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c033", "cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c3ab", "cocos2d::CCDirector::setOpenGLView @ 0x1800bf8ef", "<???> @ 0x1801438a8", "<???> @ 0x1801b930c"], "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"}