; ; cocos2d::CCDirector::setOpenGLView from 0x1800bf860 to 0x1800bf92a (202 bytes) ; ; 6 xrefs: ; > cocos2d::CCApplication::setupGLView @ 0x180073d53 ; > @ 0x180141e18 ; > @ 0x180141e28 ; > @ 0x1801438a8 ; > @ 0x1801b933c ; > @ 0x1801b9348 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rsi ; +0x0, 0x1800bf860 push rdi ; +0x5, 0x1800bf865 sub rsp, 20h ; +0x6, 0x1800bf866 mov rsi, rdx ; +0xa, 0x1800bf86a mov rdi, rcx ; +0xd, 0x1800bf86d cmp [rcx+0B8h], rdx ; +0x10, 0x1800bf870 jz loc_1800BF91F ; +0x17, 0x1800bf877 mov [rsp+28h+arg_0], rbx ; +0x1d, 0x1800bf87d call ?sharedConfiguration@CCConfiguration@cocos2d@@SAPEAV12@XZ; cocos2d::CCConfiguration::sharedConfiguration(void) ; +0x22, 0x1800bf882 mov rcx, rax; this ; +0x27, 0x1800bf887 mov rbx, rax ; +0x2a, 0x1800bf88a call ?gatherGPUInfo@CCConfiguration@cocos2d@@QEAAXXZ; cocos2d::CCConfiguration::gatherGPUInfo(void) ; +0x2d, 0x1800bf88d mov rcx, rbx; this ; +0x32, 0x1800bf892 call ?dumpInfo@CCConfiguration@cocos2d@@QEBAXXZ; cocos2d::CCConfiguration::dumpInfo(void) ; +0x35, 0x1800bf895 mov rcx, [rdi+0B8h] ; +0x3a, 0x1800bf89a mov rbx, [rsp+28h+arg_0] ; +0x41, 0x1800bf8a1 test rcx, rcx ; +0x46, 0x1800bf8a6 jz short loc_1800BF8B4 ; +0x49, 0x1800bf8a9 add rcx, 78h ; 'x'; this ; +0x4b, 0x1800bf8ab call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4f, 0x1800bf8af lea rcx, [rsi+78h]; this ; +0x54, 0x1800bf8b4 mov [rdi+0B8h], rsi ; +0x58, 0x1800bf8b8 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5f, 0x1800bf8bf mov rcx, [rdi+0B8h] ; +0x64, 0x1800bf8c4 mov rax, [rcx] ; +0x6b, 0x1800bf8cb call qword ptr [rax+50h] ; +0x6e, 0x1800bf8ce mov rdx, rax ; +0x71, 0x1800bf8d1 lea rcx, [rdi+138h] ; +0x74, 0x1800bf8d4 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x7b, 0x1800bf8db mov rcx, [rdi+0B8h] ; +0x80, 0x1800bf8e0 test rcx, rcx ; +0x87, 0x1800bf8e7 jz short loc_1800BF8FB ; +0x8a, 0x1800bf8ea mov rcx, rdi; this ; +0x8c, 0x1800bf8ec call ?setGLDefaultValues@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setGLDefaultValues(void) ; +0x8f, 0x1800bf8ef mov rcx, [rdi+0B8h] ; +0x94, 0x1800bf8f4 mov rax, [rdi+78h] ; +0x9b, 0x1800bf8fb xor r9d, r9d ; +0x9f, 0x1800bf8ff mov r8, [rcx] ; +0xa2, 0x1800bf902 test rax, rax ; +0xa5, 0x1800bf905 lea rdx, [rax+38h] ; +0xa8, 0x1800bf908 cmovz rdx, r9 ; +0xac, 0x1800bf90c call qword ptr [r8+58h] ; +0xb0, 0x1800bf910 mov rcx, [rdi+78h]; this ; +0xb4, 0x1800bf914 mov dl, 1; bool ; +0xb8, 0x1800bf918 call ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0xba, 0x1800bf91a mov rsi, [rsp+28h+arg_8] ; +0xbf, 0x1800bf91f add rsp, 20h ; +0xc4, 0x1800bf924 pop rdi ; +0xc8, 0x1800bf928 retn ; +0xc9, 0x1800bf929