//
// sub_BDDAD0 from 0xbddad0 to 0xbddb14 (68 bytes)
//
// 2 xrefs:
// > EditorUI::createDpadMoveMenu @ 0xbe08a4
// > EditorUI::createMoveMenu @ 0xbe1144
//
// 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 13:03:44 +0000
//
float __fastcall sub_BDDAD0(cocos2d::CCDirector *a1)
{
cocos2d::CCDirector *v1; // x0
cocos2d::CCDirector *ScreenRight; // x0
float v3; // s0
float v4; // s8
cocos2d::CCDirector *v5; // x0
float v6; // s0
v1 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);
ScreenRight = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenRight(v1);
v4 = v3;
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(ScreenRight);
cocos2d::CCDirector::getScreenLeft(v5);
return (float)(v4 - 96.0) - (float)((float)(v6 + 96.0) + 0.0);
}