//
// sub_14044BD90 from 0x14044bd90 to 0x14044be0e (126 bytes)
//
// 6 xrefs:
// > LevelControlConfig::createFromGlobal @ 0x14044b97a
// > LevelControlConfig::createFromGlobal @ 0x14044b997
// > LevelControlConfig::createFromGlobal @ 0x14044b9f3
// > LevelControlConfig::createFromGlobal @ 0x14044ba10
// > TouchControlEditLayer::saveTarget @ 0x140454be4
// > ??> @ 0x140927470
//
// This function is hookable on this platform (idp: pc, 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:32:25 +0000
//
__int64 __fastcall sub_14044BD90(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 8);
if ( v2 == *(_QWORD *)(a1 + 16) )
return sub_14044C0D0(a1, *(_QWORD *)(a1 + 8), a2);
sub_14044BA50(*(_QWORD *)(a1 + 8), a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 40), (const struct cocos2d::CCPoint *)(a2 + 40));
*(_DWORD *)(v2 + 48) = *(_DWORD *)(a2 + 48);
*(_DWORD *)(v2 + 52) = *(_DWORD *)(a2 + 52);
*(_BYTE *)(v2 + 56) = *(_BYTE *)(a2 + 56);
result = *(unsigned __int8 *)(a2 + 57);
*(_BYTE *)(v2 + 57) = result;
*(_QWORD *)(a1 + 8) += 60LL;
return result;
}