// // cocos2d::CCDirector::setOpenGLView from 0xd4a414 to 0xd4a4e0 (204 bytes) // // 2 xrefs: // > AppDelegate::setupGLView @ 0x6e6820 // > @ 0x48328 // // This function is hookable on this platform (idp: arm, 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 13:07:37 +0000 // cocos2d::CCEGLView **__fastcall cocos2d::CCDirector::setOpenGLView(cocos2d::CCEGLView **this, cocos2d::CCEGLView *a2) { cocos2d::CCEGLView **v3; // x19 cocos2d::CCConfiguration *v4; // x21 cocos2d::CCEGLView *v5; // x0 float *v6; // x0 __int64 v7; // x1 unsigned int v8; // w2 cocos2d::CCEGLView *v9; // x0 cocos2d::CCEGLView *v10; // x2 char *v11; // x1 if ( *(this + 24) != a2 ) { v3 = this; v4 = (cocos2d::CCConfiguration *)cocos2d::CCConfiguration::sharedConfiguration((cocos2d::CCConfiguration *)this); cocos2d::CCConfiguration::gatherGPUInfo(v4); cocos2d::CCConfiguration::dumpInfo(v4); v5 = v3[24]; if ( v5 ) (*(void (__fastcall **)(cocos2d::CCEGLView *))(*(_QWORD *)v5 + 8LL))(v5); v3[24] = a2; v6 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCEGLView *))(*(_QWORD *)a2 + 88LL))(a2); cocos2d::CCSize::operator=((float *)v3 + 80, v6); cocos2d::CCDirector::createStatsLabel((cocos2d::CCDirector *)v3); v9 = v3[24]; if ( v9 ) { cocos2d::CCDirector::setGLDefaultValues((cocos2d::CCDirector *)v3, v7, v8); v9 = v3[24]; } v10 = v3[15]; v11 = (char *)v10 + 56; if ( !v10 ) v11 = nullptr; (*(void (__fastcall **)(cocos2d::CCEGLView *, char *))(*(_QWORD *)v9 + 96LL))(v9, v11); return (cocos2d::CCEGLView **)cocos2d::CCTouchDispatcher::setDispatchEvents(v3[15], 1); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source