//
// GJSmartTemplate::applyTransformationsForType from 0x1403b9c20 to 0x1403b9d5c (316 bytes)
//
// 4 xrefs:
// > EditorUI::createPrefab @ 0x1401b7623
// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1403bc4f2
// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1403bc8d6
// > ??> @ 0x140923d8c
//
// This function is hookable on this platform (idp: pc, 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 11:31:26 +0000
//
void __fastcall GJSmartTemplate::applyTransformationsForType(int a1, cocos2d::CCSprite *a2)
{
switch ( a1 )
{
case '3':
case '4':
case '5':
case 'C':
case 'D':
case 'G':
case 'H':
case 'I':
case 'J':
goto LABEL_2;
case '8':
case '9':
cocos2d::CCSprite::setFlipX(a2, 1);
return;
case 'A':
case 'B':
cocos2d::CCSprite::setFlipY(a2, 1);
return;
case 'E':
case 'F':
cocos2d::CCSprite::setFlipX(a2, 1);
goto LABEL_2;
case 'K':
case 'L':
cocos2d::CCSprite::setFlipY(a2, 1);
LABEL_2:
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 352LL))(a2);
break;
default:
return;
}
}