//
// LevelEditorLayer::objectMoved from 0x78b90c to 0x78bb30 (548 bytes)
//
// 2 xrefs:
// > EditorUI::moveObject @ 0xc00974
// > ??> @ 0xbc9b0
//
// 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 12:53:26 +0000
//
__n128 __fastcall LevelEditorLayer::objectMoved(LevelEditorLayer *this, GameObject *a2)
{
int v2; // w2
__n128 result; // q0
v2 = *((_DWORD *)a2 + 257);
if ( v2 > 1613 )
{
if ( v2 == 2907 )
goto LABEL_12;
if ( v2 > 2907 )
{
if ( v2 <= 3010 )
{
if ( v2 < 3006 && (v2 < 2909 || v2 > 2917 && (unsigned int)(v2 - 2919) > 5) )
goto LABEL_13;
}
else if ( v2 != 3643 )
{
if ( v2 > 3643 )
{
if ( v2 != 3660 )
goto LABEL_13;
}
else if ( (unsigned int)(v2 - 3016) > 8 )
{
goto LABEL_13;
}
}
}
else
{
if ( v2 == 1915 )
goto LABEL_12;
if ( v2 > 1915 )
{
if ( v2 == 2899 )
goto LABEL_12;
if ( v2 <= 2899 )
{
if ( v2 == 2067 )
goto LABEL_12;
if ( v2 != 2068 )
goto LABEL_13;
LABEL_23:
*((_BYTE *)this + 14172) = 1;
*(_BYTE *)(*((_QWORD *)this + 1786) + 492LL) = 1;
goto LABEL_13;
}
if ( (unsigned int)(v2 - 2903) > 2 )
goto LABEL_13;
}
else
{
if ( v2 > 1819 )
{
if ( v2 != 1912 )
goto LABEL_13;
goto LABEL_23;
}
if ( v2 < 1818 && v2 != 1814 )
goto LABEL_13;
}
}
LABEL_12:
*(_BYTE *)(*((_QWORD *)this + 1786) + 492LL) = 1;
goto LABEL_13;
}
if ( v2 >= 1612 )
goto LABEL_12;
if ( v2 <= 900 )
{
if ( v2 < 899 )
{
if ( v2 <= 33 )
{
if ( v2 >= 31 )
goto LABEL_12;
if ( v2 < 22 )
goto LABEL_13;
if ( v2 <= 28 )
goto LABEL_12;
}
else if ( v2 != 105 )
{
if ( v2 <= 105 )
{
if ( (unsigned int)(v2 - 55) > 4 )
goto LABEL_13;
goto LABEL_12;
}
if ( v2 != 744 )
goto LABEL_13;
}
}
LABEL_35:
*((_BYTE *)this + 14169) = 1;
*(_BYTE *)(*((_QWORD *)this + 1786) + 492LL) = 1;
goto LABEL_13;
}
if ( v2 == 1049 )
goto LABEL_12;
if ( v2 > 1049 )
{
if ( v2 > 1347 )
{
if ( v2 != 1594 )
goto LABEL_13;
goto LABEL_12;
}
if ( v2 < 1346 )
{
if ( v2 != 1268 )
goto LABEL_13;
goto LABEL_23;
}
goto LABEL_12;
}
if ( v2 == 915 )
goto LABEL_35;
if ( v2 <= 915 )
{
if ( v2 != 901 )
goto LABEL_13;
goto LABEL_12;
}
if ( v2 == 1006 )
{
*((_BYTE *)this + 14170) = 1;
*(_BYTE *)(*((_QWORD *)this + 1786) + 492LL) = 1;
}
else if ( v2 == 1007 )
{
*((_BYTE *)this + 14171) = 1;
*(_BYTE *)(*((_QWORD *)this + 1786) + 492LL) = 1;
}
LABEL_13:
if ( *((_BYTE *)a2 + 1253) )
*((_BYTE *)this + 14184) = 1;
if ( *((_BYTE *)a2 + 1255) )
return cocos2d::CCPoint::operator=((char *)a2 + 1800, &dword_155C6A8);
return result;
}