// // cocos2d::CCDirector::setViewport from 0x7ca248 to 0x7ca28e (70 bytes) // // 3 xrefs: // > cocos2d::CCDirector::setProjection @ 0x7ca2d8 // > cocos2d::CCRenderTexture::end @ 0x7e0550 // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeOnSurfaceChanged @ 0x7ed598 // // 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 // int __fastcall cocos2d::CCDirector::setViewport(int this) { int v1; // r5 _DWORD v2[2]; // [sp+Ch] [bp-10h] BYREF v1 = this; if ( *(_DWORD *)(this + 152) ) { cocos2d::CCSize::CCSize(v2, (const cocos2d::CCSize *)(this + 248)); return (*(int (__fastcall **)(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(**(_DWORD **)(v1 + 152) + 52))( *(_DWORD *)(v1 + 152), 0, 0, v2[0], v2[1]); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source