{"type": "func", "start": 17405796, "end": 17405824, "name": "Camellia_cbc_encrypt", "pseudocode": "// \n// Camellia_cbc_encrypt from 0x1099764 to 0x1099780 (28 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xa8988\n// > sub_10230E0 @ 0x1023190\n// > <???> @ 0x1544c00\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:17:25 +0000\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 0x1099764 to 0x1099780 (28 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xa8988\n; > sub_10230E0 @ 0x1023190\n; > <???> @ 0x1544c00\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:17:25 +0000\n; \nCBNZ            W5, loc_1099774                                        ; +0x0, 0x1099764\nADRP            X5, #Camellia_decrypt_ptr@PAGE                         ; +0x4, 0x1099768\nLDR             X5, [X5,#Camellia_decrypt_ptr@PAGEOFF]; Camellia_decrypt ; +0x8, 0x109976c\nB               CRYPTO_cbc128_decrypt                                  ; +0xc, 0x1099770\nADRP            X5, #Camellia_encrypt_ptr@PAGE                         ; +0x10, 0x1099774\nLDR             X5, [X5,#Camellia_encrypt_ptr@PAGEOFF]; Camellia_encrypt ; +0x14, 0x1099778\nB               CRYPTO_cbc128_encrypt                                  ; +0x18, 0x109977c", "xrefs": ["<???> @ 0xa8988", "sub_10230E0 @ 0x1023190", "<???> @ 0x1544c00"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}