// // cocos2d::CCApplication::getTargetPlatform from 0x100240f4c to 0x100240f9c (80 bytes) // // 2 xrefs: // > @ 0x100906000 // > @ 0x10092b4d0 // // 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 11:01:24 +0000 // __int64 cocos2d::CCApplication::getTargetPlatform() { __int64 v0; // x19 v0 = 4; if ( (objc_opt_respondsToSelector( +[UIDevice currentDevice](&OBJC_CLASS___UIDevice, "currentDevice"), "userInterfaceIdiom") & 1) != 0 ) { if ( (void *)-[UIDevice userInterfaceIdiom]( +[UIDevice currentDevice](&OBJC_CLASS___UIDevice, "currentDevice"), "userInterfaceIdiom") == (void *)1 ) return 5; else return 4; } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source