// // cocos2d::CCDirector::getWinSizeInPixels from 0x100483ff0 to 0x100484024 (52 bytes) // // 5 xrefs: // > cocos2d::CCGridBase::initWithSize_1 @ 0x1004e35e3 // > cocos2d::CCGridBase::set2DProjection @ 0x1004e3995 // > cocos2d::CCRenderTexture::begin @ 0x1005f593b // > cocos2d::CCSplitRows::startWithTarget @ 0x1007b7d92 // > cocos2d::CCSplitCols::startWithTarget @ 0x1007b8142 // // 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 // cocos2d::CCSize __fastcall cocos2d::CCDirector::getWinSizeInPixels(cocos2d::CCDirector *a1) { __int64 v1; // rsi float v2; // xmm1_4 cocos2d::CCSize result; // 0:xmm0_8.8 v2 = *(float *)(v1 + 320); result = (cocos2d::CCSize)*(unsigned int *)(v1 + 312); result.width = result.width * v2; sub_10028CBF0((float *)a1, result.width, v2 * *(float *)(v1 + 316)); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source