//
// offsetForStreak from 0x74e610 to 0x74e6f0 (224 bytes)
//
// 2 xrefs:
// > PlayerObject::setPosition @ 0x750b70
// > ??> @ 0xaae00
//
// 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:52:54 +0000
//
cocos2d::CCPoint *__usercall offsetForStreak@(int a1@, cocos2d::CCPoint *a2@)
{
cocos2d::CCPoint *result; // x0
switch ( a1 )
{
case 2:
cocos2d::CCPoint::CCPoint(a2, -8.0, -3.0);
result = a2;
break;
case 3:
cocos2d::CCPoint::CCPoint(a2, -8.0, -3.5);
result = a2;
break;
case 4:
case 5:
cocos2d::CCPoint::CCPoint(a2, -14.0, -3.0);
result = a2;
break;
case 6:
cocos2d::CCPoint::CCPoint(a2, -14.0, -2.5);
result = a2;
break;
default:
cocos2d::CCPoint::CCPoint(a2, 0.0, 0.0);
result = a2;
break;
}
return result;
}