// // offsetForStreak from 0x33cb8c to 0x33cbc6 (58 bytes) // // 1 xrefs: // > PlayerObject::setPosition @ 0x33ec7a // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source