//
// sub_1002F828C from 0x1002f828c to 0x1002f82f4 (104 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x1002933f8
// > sub_100404438 @ 0x1004044c8
//
// 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 11:03:00 +0000
//
__int64 __fastcall sub_1002F828C(__int64 a1)
{
float v2; // s0
float v3; // s1
__int64 result; // x0
float v5; // [xsp+8h] [xbp-18h] BYREF
v2 = *(double *)(a1 + 944);
v3 = *(double *)(a1 + 952);
sub_1000262BC(&v5, v2, v3);
cocos2d::CCSprite::setPosition(a1, &v5);
result = *(_QWORD *)(a1 + 888);
if ( result )
{
if ( (*(_BYTE *)(a1 + 866) & 1) == 0 )
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)result + 184LL))(result, &v5);
}
return result;
}