//
// PlayerObject::placeStreakPoint from 0x4392fc to 0x43935e (98 bytes)
//
// 2 xrefs:
// > PlayerObject::placeStreakPoint @ 0x439386
// > PlayerObject::postCollision @ 0x442a9a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:20 +0000
//
GameManager *__fastcall PlayerObject::placeStreakPoint(GameManager *result, const cocos2d::CCPoint *a2, int a3, int a4)
{
GameManager *v4; // r4
int v6; // r7
_DWORD v7[3]; // [sp+4h] [bp-Ch] BYREF
v7[0] = a2;
v7[1] = a3;
v7[2] = a4;
v4 = result;
if ( !*((_BYTE *)result + 1601) )
{
if ( *((_BYTE *)result + 1956) )
{
if ( !*((_BYTE *)result + 2066) )
{
if ( *((_BYTE *)result + 1888) )
{
result = PlayerObject::levelFlipping(result);
if ( !result )
{
v6 = *((_DWORD *)v4 + 388);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a2);
result = (GameManager *)HardStreak::addPoint(v6, v7);
}
}
}
}
}
*((_BYTE *)v4 + 1240) = 0;
return result;
}