; ; cocos2d::CCDirector::setOpenGLView from 0x1800c3090 to 0x1800c3159 (201 bytes) ; ; 6 xrefs: ; > cocos2d::CCApplication::setupGLView @ 0x1800769e1 ; > @ 0x18014b184 ; > @ 0x18014b194 ; > @ 0x18014cf68 ; > @ 0x1801c3600 ; > @ 0x1801c360c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:26 +0000 ; mov [rsp+arg_8], rsi ; +0x0, 0x1800c3090 push rdi ; +0x5, 0x1800c3095 sub rsp, 20h ; +0x6, 0x1800c3096 mov rsi, rdx ; +0xa, 0x1800c309a mov rdi, rcx ; +0xd, 0x1800c309d cmp [rcx+0C0h], rdx ; +0x10, 0x1800c30a0 jz loc_1800C314E ; +0x17, 0x1800c30a7 mov [rsp+28h+arg_0], rbx ; +0x1d, 0x1800c30ad call ?sharedConfiguration@CCConfiguration@cocos2d@@SAPEAV12@XZ; cocos2d::CCConfiguration::sharedConfiguration(void) ; +0x22, 0x1800c30b2 mov rcx, rax; this ; +0x27, 0x1800c30b7 mov rbx, rax ; +0x2a, 0x1800c30ba call ?gatherGPUInfo@CCConfiguration@cocos2d@@QEAAXXZ; cocos2d::CCConfiguration::gatherGPUInfo(void) ; +0x2d, 0x1800c30bd mov rcx, rbx; this ; +0x32, 0x1800c30c2 call ?dumpInfo@CCConfiguration@cocos2d@@QEBAXXZ; cocos2d::CCConfiguration::dumpInfo(void) ; +0x35, 0x1800c30c5 mov rcx, [rdi+0C0h] ; +0x3a, 0x1800c30ca mov rbx, [rsp+28h+arg_0] ; +0x41, 0x1800c30d1 test rcx, rcx ; +0x46, 0x1800c30d6 jz short loc_1800C30E4 ; +0x49, 0x1800c30d9 add rcx, 78h ; 'x'; this ; +0x4b, 0x1800c30db call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4f, 0x1800c30df lea rcx, [rsi+78h]; this ; +0x54, 0x1800c30e4 mov [rdi+0C0h], rsi ; +0x58, 0x1800c30e8 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5f, 0x1800c30ef mov rcx, [rdi+0C0h] ; +0x64, 0x1800c30f4 mov rax, [rcx] ; +0x6b, 0x1800c30fb call qword ptr [rax+50h] ; +0x6e, 0x1800c30fe mov rdx, rax ; +0x71, 0x1800c3101 lea rcx, [rdi+140h] ; +0x74, 0x1800c3104 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x7b, 0x1800c310b mov rcx, [rdi+0C0h] ; +0x80, 0x1800c3110 test rcx, rcx ; +0x87, 0x1800c3117 jz short loc_1800C312B ; +0x8a, 0x1800c311a mov rcx, rdi; this ; +0x8c, 0x1800c311c call ?setGLDefaultValues@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setGLDefaultValues(void) ; +0x8f, 0x1800c311f mov rcx, [rdi+0C0h] ; +0x94, 0x1800c3124 mov rax, [rdi+78h] ; +0x9b, 0x1800c312b xor r8d, r8d ; +0x9f, 0x1800c312f test rax, rax ; +0xa2, 0x1800c3132 lea rdx, [rax+38h] ; +0xa5, 0x1800c3135 mov rax, [rcx] ; +0xa9, 0x1800c3139 cmovz rdx, r8 ; +0xac, 0x1800c313c call qword ptr [rax+58h] ; +0xb0, 0x1800c3140 mov rcx, [rdi+78h]; this ; +0xb3, 0x1800c3143 mov dl, 1; bool ; +0xb7, 0x1800c3147 call ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0xb9, 0x1800c3149 mov rsi, [rsp+28h+arg_8] ; +0xbe, 0x1800c314e add rsp, 20h ; +0xc3, 0x1800c3153 pop rdi ; +0xc7, 0x1800c3157 retn ; +0xc8, 0x1800c3158