// // GJSmartTemplate::applyTransformationsForType from 0x539df4 to 0x539e7c (136 bytes) // // 3 xrefs: // > EditorUI::createPrefab @ 0x3a4240 // > GJSmartBlockPreview::addTemplateGuide @ 0x53bbd4 // > GJSmartBlockPreview::addTemplateGuide @ 0x53bcb6 // // 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: ((void (__fastcall *)(cocos2d::CCSprite *, int))a2->setRotation)(a2, 1119092736); return; case NormalSlope3: ((void (__fastcall *)(cocos2d::CCSprite *, int))a2->setRotation)(a2, 1132920832); return; case NormalSlope4: case WideSlope7: case WideSlope8: ((void (__fastcall *)(cocos2d::CCSprite *, int))a2->setRotation)(a2, 1127481344); return; 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_9; case WideSlope13: case WideSlope14: goto LABEL_9; case WideSlope15: case WideSlope16: cocos2d::CCSprite::setFlipY(a2, 1); LABEL_9: ((void (__fastcall *)(cocos2d::CCSprite *, int))a2->setRotation)(a2, -1028390912); break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source