// // GJSmartTemplate::applyTransformationsForType from 0x100413600 to 0x1004136c7 (199 bytes) // // 4 xrefs: // > EditorUI::createPrefab @ 0x1000149f5 // > EditorUI::createPrefab @ 0x100014a3f // > GJSmartBlockPreview::addTemplateGuide_1 @ 0x100415a65 // > GJSmartBlockPreview::addTemplateGuide_1 @ 0x100415c07 // // 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 12:30:10 +0000 // __int64 __fastcall GJSmartTemplate::applyTransformationsForType(int a1, unsigned __int8 *a2) { __int64 result; // rax __int64 (__fastcall *v3)(unsigned __int8 *, double); // rax __int64 v4; // xmm0_8 switch ( a1 ) { case '3': case 'G': case 'H': v3 = *(__int64 (__fastcall **)(unsigned __int8 *, double))(*(_QWORD *)a2 + 360LL); v4 = 1119092736; goto LABEL_9; case '4': v3 = *(__int64 (__fastcall **)(unsigned __int8 *, double))(*(_QWORD *)a2 + 360LL); v4 = 1132920832; goto LABEL_9; case '5': case 'C': case 'D': v3 = *(__int64 (__fastcall **)(unsigned __int8 *, double))(*(_QWORD *)a2 + 360LL); v4 = 1127481344; goto LABEL_9; case '8': case '9': return cocos2d::CCSprite::setFlipX(a2, 1u); case 'A': case 'B': return cocos2d::CCSprite::setFlipY(a2, 1u); case 'E': case 'F': cocos2d::CCSprite::setFlipX(a2, 1u); goto LABEL_8; case 'I': case 'J': goto LABEL_8; case 'K': case 'L': cocos2d::CCSprite::setFlipY(a2, 1u); LABEL_8: v3 = *(__int64 (__fastcall **)(unsigned __int8 *, double))(*(_QWORD *)a2 + 360LL); v4 = 3266576384LL; LABEL_9: result = v3(a2, *(double *)&v4); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source