// // AppDelegate::setupGLView from 0x10073b660 to 0x10073b75a (250 bytes) // // 1 xrefs: // > AppDelegate::applicationDidFinishLaunching @ 0x10073b7fb // // 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 12:36:26 +0000 // void __fastcall AppDelegate::setupGLView(__int64 a1) { __int64 v1; // rax __int64 v2; // rbx __int64 v3; // rax _DWORD *v4; // rdi __int64 v5; // r14 __int64 v6; // rbx __int64 v7; // rax __int64 v8; // rdx __int64 v9; // rcx __int64 v10; // r8 __int64 v11; // r14 _QWORD *v12; // rax __int64 v13; // rax __int64 v14; // [rsp-38h] [rbp-38h] BYREF __int64 v15; // [rsp-30h] [rbp-30h] BYREF _QWORD v16[5]; // [rsp-28h] [rbp-28h] BYREF if ( !*(_BYTE *)(a1 + 64) ) { sub_100278260((float *)v16, 480.0, 320.0); *(_BYTE *)(a1 + 64) = 1; v1 = cocos2d::CCDirector::sharedDirector(); v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 192LL))(v1); v3 = GJKeybindManager::sharedState(); v4 = *(_DWORD **)(v2 + 136); if ( v4 != (_DWORD *)v3 ) { v5 = v3; if ( v3 ) { cocos2d::CCObject::retain(v3); v4 = *(_DWORD **)(v2 + 136); } if ( v4 ) cocos2d::CCObject::release(v4); *(_QWORD *)(v2 + 136) = v5; } GameManager::sharedState(); LocalLevelManager::sharedState(); v6 = cocos2d::CCEGLView::sharedOpenGLView(); v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setOpenGLView(v7, v6, v8, v9, v10); v11 = cocos2d::CCDirector::sharedDirector(); sub_100278630(&v14, v16); v12 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 48LL))(v6); sub_100278630(&v15, v12); v13 = GameManager::sharedState(); cocos2d::CCDirector::setupScreenScale(v11, &v14, &v15, *(_DWORD *)(v13 + 1060)); } }