// // Camellia_set_key from 0x1099780 to 0x10997e8 (104 bytes) // // 2 xrefs: // > sub_10230E0 @ 0x1023118 // > @ 0x100618 // // This function is hookable on this platform (idp: arm, 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 13:17:25 +0000 // __int64 __fastcall Camellia_set_key(__int64 a1, unsigned int a2, __int64 a3) { if ( a1 && a3 ) { if ( (a2 & 0xFFFFFFBF) == 0x80 || a2 == 256 ) { *(_DWORD *)(a3 + 272) = Camellia_Ekeygen(a2, a1, a3); return 0; } else { return (unsigned int)-2; } } else { return (unsigned int)-1; } }