//
// PlayLayer::getEndPosition from 0x100080ac0 to 0x100080b0f (79 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:02 +0000
//
__int64 __fastcall PlayLayer::getEndPosition(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v4; // rsi
if ( *(_BYTE *)(a2 + 12238) || (v3 = *(_QWORD *)(a2 + 12608)) == 0 || *(_QWORD *)(a2 + 14896) )
v4 = a2 + 14884;
else
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3);
sub_1002782D0(a1, v4);
return a1;
}