// // PlatformToolbox::getDisplaySize from 0x1004c4c10 to 0x1004c4c67 (87 bytes) // // 2 xrefs: // > GameManager::resolutionForKey @ 0x10038c94e // > VideoOptionsLayer::init @ 0x10079f290 // // 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 PlatformToolbox::getDisplaySize() { _QWORD *v0; // rdi AppControllerManager *v1; // rax const char *v2; // rax cocos2d::CCSize result; // 0:xmm0_8.8 v1 = +[AppControllerManager sharedInstance](&OBJC_CLASS___AppControllerManager, "sharedInstance"); v2 = -[AppControllerManager controller](v1, "controller"); if ( v2 ) objc_msgSend_stret(v0, v2, "getDisplaySize"); else *v0 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source