{"type": "func", "start": 14791780, "end": 14791808, "name": "Camellia_cbc_encrypt", "pseudocode": "// \n// Camellia_cbc_encrypt from 0xe1b464 to 0xe1b480 (28 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x7e7c8\n// > sub_DA4D80 @ 0xda4e30\n// > <???> @ 0x122c430\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nunsigned __int64 __fastcall Camellia_cbc_encrypt(\n        _QWORD *a1,\n        _QWORD *a2,\n        unsigned __int64 a3,\n        __int64 a4,\n        _QWORD *a5,\n        int a6)\n{\n  if ( a6 )\n    return CRYPTO_cbc128_encrypt(\n             a1,\n             a2,\n             a3,\n             a4,\n             a5,\n             (void (__fastcall *)(__int64 *, __int64 *, __int64))Camellia_encrypt);\n  else\n    return CRYPTO_cbc128_decrypt(\n             (unsigned __int64)a1,\n             a2,\n             a3,\n             a4,\n             (__int64)a5,\n             (void (__fastcall *)(unsigned __int64, __int64 *, __int64))Camellia_decrypt);\n}", "assembly": "; \n; Camellia_cbc_encrypt from 0xe1b464 to 0xe1b480 (28 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x7e7c8\n; > sub_DA4D80 @ 0xda4e30\n; > <???> @ 0x122c430\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCBNZ            W5, loc_E1B474                                         ; +0x0, 0xe1b464\nADRP            X5, #Camellia_decrypt_ptr@PAGE                         ; +0x4, 0xe1b468\nLDR             X5, [X5,#Camellia_decrypt_ptr@PAGEOFF]; Camellia_decrypt ; +0x8, 0xe1b46c\nB               CRYPTO_cbc128_decrypt                                  ; +0xc, 0xe1b470\nADRP            X5, #Camellia_encrypt_ptr@PAGE                         ; +0x10, 0xe1b474\nLDR             X5, [X5,#Camellia_encrypt_ptr@PAGEOFF]; Camellia_encrypt ; +0x14, 0xe1b478\nB               CRYPTO_cbc128_encrypt                                  ; +0x18, 0xe1b47c", "xrefs": ["<???> @ 0x7e7c8", "sub_DA4D80 @ 0xda4e30", "<???> @ 0x122c430"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}