// // GJSmartTemplate::applyTransformationsForType from 0x9d1500 to 0x9d1608 (264 bytes) // // 4 xrefs: // > EditorUI::createPrefab @ 0x6c07c4 // > GJSmartBlockPreview::addTemplateGuide @ 0x9d6890 // > GJSmartBlockPreview::addTemplateGuide @ 0x9d6a00 // > @ 0x6ad58 // // 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 WideSlope11: case WideSlope12: a2->setRotation(a2, 90.0); break; case NormalSlope3: a2->setRotation(a2, 270.0); break; case NormalSlope4: case WideSlope7: case WideSlope8: a2->setRotation(a2, 180.0); break; case WideSlope3: case WideSlope4: cocos2d::CCSprite::setFlipX(a2, 1); break; case WideSlope5: case WideSlope6: cocos2d::CCSprite::setFlipY(a2, 1); break; case WideSlope9: case WideSlope10: cocos2d::CCSprite::setFlipX(a2, 1); goto LABEL_3; case WideSlope13: case WideSlope14: a2->setRotation(a2, -90.0); break; case WideSlope15: case WideSlope16: cocos2d::CCSprite::setFlipY(a2, 1); LABEL_3: a2->setRotation(a2, -90.0); break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source