//
// PlayLayer::getEndPosition from 0x6f3648 to 0x6f36bc (116 bytes)
//
// 5 xrefs:
// > PlayLayer::showCompleteText @ 0x6f39fc
// > PlayLayer::spawnCircle @ 0x6f3cac
// > PlayLayer::showCompleteEffect @ 0x6f8108
// > PlayLayer::levelComplete @ 0x7038f8
// > ??> @ 0xd98a0
//
// 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:51:49 +0000
//
cocos2d::CCPoint *__usercall PlayLayer::getEndPosition@(PlayLayer *this@, cocos2d::CCPoint *a2@)
{
__int64 v2; // x1
const cocos2d::CCPoint *v5; // x0
if ( *((_BYTE *)this + 12238) || (v2 = *((_QWORD *)this + 1576)) == 0 || *((_QWORD *)this + 1862) )
{
cocos2d::CCPoint::CCPoint(a2, (PlayLayer *)((char *)this + 14884));
return a2;
}
else
{
v5 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 192LL))(*((_QWORD *)this + 1576));
cocos2d::CCPoint::CCPoint(a2, v5);
return a2;
}
}