// // cocos2d::CCDirector::setOpenGLView from 0x7cafbe to 0x7cb02e (112 bytes) // // 1 xrefs: // > AppDelegate::setupGLView @ 0x3f6d9c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:30 +0000 // cocos2d::CCEGLView **__fastcall cocos2d::CCDirector::setOpenGLView(cocos2d::CCEGLView **this, cocos2d::CCEGLView *a2) { cocos2d::CCEGLView **v2; // r4 cocos2d::CCConfiguration *v4; // r6 cocos2d::CCEGLView *v5; // r0 float *v6; // r0 int v7; // r1 unsigned int v8; // r2 cocos2d::CCEGLView *v9; // r1 v2 = this; if ( *(this + 38) != a2 ) { v4 = (cocos2d::CCConfiguration *)cocos2d::CCConfiguration::sharedConfiguration((cocos2d::CCConfiguration *)this); cocos2d::CCConfiguration::gatherGPUInfo(v4); cocos2d::CCConfiguration::dumpInfo(v4); v5 = v2[38]; if ( v5 ) (*(void (__fastcall **)(cocos2d::CCEGLView *))(*(_DWORD *)v5 + 4))(v5); v2[38] = a2; v6 = (float *)(*(int (__fastcall **)(cocos2d::CCEGLView *))(*(_DWORD *)a2 + 44))(a2); cocos2d::CCSize::operator=((float *)v2 + 62, v6); cocos2d::CCDirector::createStatsLabel((cocos2d::CCDirector *)v2); if ( v2[38] ) cocos2d::CCDirector::setGLDefaultValues((cocos2d::CCDirector *)v2, v7, v8); v9 = v2[25]; if ( v9 ) v9 = (cocos2d::CCEGLView *)((char *)v9 + 52); (*(void (__fastcall **)(cocos2d::CCEGLView *, cocos2d::CCEGLView *))(*(_DWORD *)v2[38] + 48))(v2[38], v9); return (cocos2d::CCEGLView **)cocos2d::CCTouchDispatcher::setDispatchEvents(v2[25], 1); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source