//
// LevelEditorLayer::addPlayerPoint from 0x1000c7670 to 0x1000c76ba (74 bytes)
//
// 0 xrefs:
//
// 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 12:20:36 +0000
//
char *__fastcall LevelEditorLayer::addPlayerPoint(__int64 a1, __int64 a2)
{
unsigned __int64 v2; // r14
char *result; // rax
char *v4; // r14
v2 = *(_QWORD *)(a1 + 14416);
if ( v2 >= *(_QWORD *)(a1 + 14424) )
{
result = sub_1000654B0((char **)(a1 + 14408), a2);
v4 = result;
}
else
{
result = (char *)sub_1002782D0(*(_QWORD *)(a1 + 14416), a2);
v4 = (char *)(v2 + 8);
*(_QWORD *)(a1 + 14416) = v4;
}
*(_QWORD *)(a1 + 14416) = v4;
return result;
}