//
// GJSmartTemplate::applyTransformationsForType from 0x1402b3740 to 0x1402b387c (316 bytes)
//
// 4 xrefs:
// > EditorUI::createPrefab @ 0x140117c83
// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1402b5fc2
// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1402b63d3
// > ??> @ 0x1406d23cc
//
// 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
//
void GJSmartTemplate::applyTransformationsForType(SmartBlockType a1, cocos2d::CCSprite *a2)
{
switch ( a1 )
{
case NormalSlope2:
case NormalSlope3:
case NormalSlope4:
case WideSlope7:
case WideSlope8:
case WideSlope11:
case WideSlope12:
case WideSlope13:
case WideSlope14:
goto LABEL_6;
case WideSlope3:
case WideSlope4:
cocos2d::CCSprite::setFlipX(a2, 1);
return;
case WideSlope5:
case WideSlope6:
cocos2d::CCSprite::setFlipY(a2, 1);
return;
case WideSlope9:
case WideSlope10:
cocos2d::CCSprite::setFlipX(a2, 1);
goto LABEL_6;
case WideSlope15:
case WideSlope16:
cocos2d::CCSprite::setFlipY(a2, 1);
LABEL_6:
((void (__fastcall *)(cocos2d::CCSprite *))a2->setRotation)(a2);
break;
default:
return;
}
}