// // Camellia_set_key from 0x871eb0 to 0x871f0c (92 bytes) // // 2 xrefs: // > sub_7FE868 @ 0x7fe8a0 // > @ 0x62f5c // // 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 // int __fastcall Camellia_set_key(int a1, int a2, int a3) { bool v3; // zf bool v4; // zf int v5; // r4 int v7; // r0 int v9; // r3 v3 = a3 == 0; if ( a3 ) v3 = a1 == 0; if ( v3 ) return -1; v4 = (a2 & 0xFFFFFFBF) == 128; if ( (a2 & 0xFFFFFFBF) != 0x80 ) v4 = a2 == 256; v5 = !v4; if ( !v4 ) return -2; v7 = Camellia_Ekeygen(a2, a1); v9 = v5; *(_DWORD *)(a3 + 272) = v7; return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source