// // cocos2d::CCEGLView::getDisplaySize from 0x180076b10 to 0x180076bd9 (201 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b48d8 // // 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 // float *__fastcall cocos2d::CCEGLView::getDisplaySize(cocos2d::CCEGLView *this, float *a2) { __int64 v2; // rcx HWND v4; // rax HMONITOR v5; // rax float v6; // xmm6_4 float v7; // xmm7_4 struct tagMONITORINFO mi; // [rsp+20h] [rbp-58h] BYREF v2 = *((_QWORD *)this + 25); mi.cbSize = 40; memset(&mi.rcMonitor, 0, 36); v4 = (HWND)sub_1800D8320(v2); v5 = MonitorFromWindow(v4, 2u); v6 = 0.0; v7 = 0.0; if ( GetMonitorInfoW(v5, &mi) ) { v6 = (float)mi.rcMonitor.right - (float)mi.rcMonitor.left; v7 = (float)mi.rcMonitor.bottom - (float)mi.rcMonitor.top; } kmVec2Fill(a2, v6, v7); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source