// // GJSmartTemplate::flipBlockType from 0x100426c00 to 0x100426c66 (102 bytes) // // 9 xrefs: // > GJSmartTemplate::flipKey @ 0x100425cfd // > GJSmartTemplate::flipKey @ 0x100425d0e // > GJSmartTemplate::flipKey @ 0x100425d1f // > GJSmartTemplate::flipKey @ 0x100425d30 // > GJSmartTemplate::flipKey @ 0x100425d41 // > GJSmartTemplate::flipKey @ 0x100425d52 // > GJSmartTemplate::flipKey @ 0x100425d63 // > GJSmartTemplate::flipKey @ 0x100425d73 // > GJSmartTemplate::flipKey @ 0x100425d84 // // 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 // SmartBlockType __fastcall GJSmartTemplate::flipBlockType(SmartBlockType a1, bool a2, bool a3) { SmartBlockType result; // eax SmartBlockType v4; // ecx unsigned int v5; // ecx result = a1; if ( (a1 & 0xFFFFFFFE) != 48 && (a3 || a2) ) { if ( a2 ) { v4 = NormalSlope2; if ( (unsigned int)(a1 - 51) <= 0x19 ) v4 = *(_DWORD *)&a2_5[4 * (a1 - 51)]; if ( a3 ) goto LABEL_6; } else { v4 = a1; if ( a3 ) { LABEL_6: v5 = v4 - 51; result = NormalSlope3; if ( v5 <= 0x19 ) return *(_DWORD *)&a5_4[4 * v5]; return result; } } return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source