// // GJSmartTemplate::rotateBlockType from 0x1403ba3e0 to 0x1403ba4d9 (249 bytes) // // 9 xrefs: // > GJSmartTemplate::rotateKey @ 0x1403baa0f // > GJSmartTemplate::rotateKey @ 0x1403baa1c // > GJSmartTemplate::rotateKey @ 0x1403baa29 // > GJSmartTemplate::rotateKey @ 0x1403baa35 // > GJSmartTemplate::rotateKey @ 0x1403baa41 // > GJSmartTemplate::rotateKey @ 0x1403baa4c // > GJSmartTemplate::rotateKey @ 0x1403baa5f // > GJSmartTemplate::rotateKey @ 0x1403baa6d // > GJSmartTemplate::rotateKey @ 0x1403baa7b // // 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 // __int64 __fastcall GJSmartTemplate::rotateBlockType(unsigned int a1, int a2) { __int64 v2; // r9 if ( a1 - 48 > 1 && a2 > 0 ) { v2 = (a2 - 1) / 0x5Au + 1; do { if ( a1 - 50 <= 0x1A ) { switch ( a1 ) { case '2': a1 = 51; break; case '3': a1 = 53; break; case '4': a1 = 50; break; case '5': a1 = 52; break; case '6': a1 = 71; break; case '7': a1 = 72; break; case '8': a1 = 75; break; case '9': a1 = 76; break; case ':': case ';': case '<': case '=': case '>': case '?': case '@': break; case 'A': a1 = 69; break; case 'B': a1 = 70; break; case 'C': a1 = 73; break; case 'D': a1 = 74; break; case 'E': a1 = 56; break; case 'F': a1 = 57; break; case 'G': a1 = 67; break; case 'H': a1 = 68; break; case 'I': a1 = 54; break; case 'J': a1 = 55; break; case 'K': a1 = 65; break; case 'L': a1 = 66; break; } } --v2; } while ( v2 ); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source