//
// offsetForStreak from 0x434e9c to 0x434ed6 (58 bytes)
//
// 1 xrefs:
// > PlayerObject::setPosition @ 0x436c32
//
// 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:18 +0000
//
cocos2d::CCPoint *__fastcall offsetForStreak(cocos2d::CCPoint *a1, int a2)
{
float v3; // r1
float v4; // r2
switch ( a2 )
{
case 2:
v3 = -8.0;
goto LABEL_5;
case 3:
v3 = -8.0;
v4 = -3.5;
break;
case 4:
case 5:
v3 = -14.0;
LABEL_5:
v4 = -3.0;
break;
case 6:
v3 = -14.0;
v4 = -2.5;
break;
default:
v3 = 0.0;
v4 = 0.0;
break;
}
cocos2d::CCPoint::CCPoint(a1, v3, v4);
return a1;
}