//
// sub_1001860F8 from 0x1001860f8 to 0x100186174 (124 bytes)
//
// 2 xrefs:
// > EditorUI::createMoveMenu @ 0x100185940
// > sub_100186174 @ 0x10018623c
//
// 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 10:59:50 +0000
//
float __fastcall sub_1001860F8(__int64 a1)
{
__int64 v1; // x0
double v2; // d0
float v3; // s8
__int64 v4; // x0
__int64 v5; // x0
float v6; // s0
float v7; // s8
__int64 v8; // x0
double v9; // d0
float v10; // s11
__int64 v11; // x0
float v12; // s0
v1 = cocos2d::CCDirector::sharedDirector(a1);
v2 = sub_100207EB0(v1);
v3 = *(float *)&v2 + -96.0;
v5 = AppDelegate::get(v4);
if ( *(_BYTE *)(v5 + 37) )
v6 = 25.0;
else
v6 = 0.0;
v7 = v3 - v6;
v8 = cocos2d::CCDirector::sharedDirector(v5);
v9 = sub_100207EA8(v8);
v10 = *(float *)&v9 + 96.0;
if ( *(_BYTE *)(AppDelegate::get(v11) + 37) )
v12 = 25.0;
else
v12 = 0.0;
return v7 - (float)(v10 + v12);
}