// // GJSmartTemplate::applyTransformationsForType from 0x66eb24 to 0x66ebac (136 bytes) // // 3 xrefs: // > EditorUI::createPrefab @ 0x487186 // > GJSmartBlockPreview::addTemplateGuide @ 0x6705de // > GJSmartBlockPreview::addTemplateGuide @ 0x6706da // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:55:49 +0000 // int __fastcall GJSmartTemplate::applyTransformationsForType(int a1, cocos2d::CCSprite *this) { int result; // r0 result = a1 - 51; switch ( result ) { case 0: case 20: case 21: return (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 180))(this, 1119092736); case 1: return (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 180))(this, 1132920832); case 2: case 16: case 17: return (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 180))(this, 1127481344); case 5: case 6: return cocos2d::CCSprite::setFlipX(this, 1); case 14: case 15: return cocos2d::CCSprite::setFlipY(this, 1); case 18: case 19: cocos2d::CCSprite::setFlipX(this, 1); goto LABEL_9; case 22: case 23: goto LABEL_9; case 24: case 25: cocos2d::CCSprite::setFlipY(this, 1); LABEL_9: result = (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 180))(this, -1028390912); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source