{"type": "func", "start": 8348532, "end": 8349584, "name": "ENGINE_ctrl", "pseudocode": "// \n// ENGINE_ctrl from 0x7f6374 to 0x7f6790 (1052 bytes)\n// \n// 10 xrefs:\n// > sub_643938 @ 0x6440f6\n// > ENGINE_cmd_is_executable @ 0x7f67e0\n// > ENGINE_ctrl_cmd @ 0x7f686c\n// > ENGINE_ctrl_cmd @ 0x7f688c\n// > ENGINE_ctrl_cmd_string @ 0x7f6964\n// > ENGINE_ctrl_cmd_string @ 0x7f6998\n// > ENGINE_ctrl_cmd_string @ 0x7f6b20\n// > ENGINE_ctrl_cmd_string @ 0x7f6b48\n// > ENGINE_ctrl_cmd_string @ 0x7f6b90\n// > <???> @ 0x552bc\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\nint __fastcall ENGINE_ctrl(_DWORD *a1, int a2, unsigned int a3, const char *a4, int a5)\n{\n  int v9; // r10\n  int v10; // r4\n  _BOOL4 v11; // r4\n  int result; // r0\n  bool v13; // zf\n  unsigned int *v14; // lr\n  unsigned int v15; // r2\n  unsigned int v16; // r3\n  bool v17; // cc\n  int v18; // r3\n  int v19; // r1\n  int v20; // r12\n  bool v21; // cc\n  unsigned int *v22; // r1\n  char *v23; // r4\n  size_t v24; // r0\n  char *v25; // r3\n  unsigned int v26; // r1\n  const char *v27; // r0\n  unsigned int *v28; // r1\n  const char *v29; // r0\n  const char *v30; // r4\n  int v31; // r1\n  unsigned int v32; // r3\n  unsigned int *v33; // r1\n  _DWORD *v34; // r3\n  _DWORD *v35; // r6\n  int v36; // r4\n  int v37; // r5\n  int v38; // r3\n\n  if ( !a1 )\n  {\n    ERR_put_error(38, 142, 67, \"crypto/engine/eng_ctrl.c\", 137);\n    return 0;\n  }\n  CRYPTO_THREAD_write_lock(global_engine_lock);\n  v9 = a1[20];\n  CRYPTO_THREAD_unlock(global_engine_lock);\n  v10 = a1[14];\n  v11 = v10 != 0;\n  if ( v9 <= 0 )\n  {\n    ERR_put_error(38, 142, 130, \"crypto/engine/eng_ctrl.c\", 145);\n    return 0;\n  }\n  if ( a2 == 10 )\n    return v11;\n  if ( a2 < 10 || a2 > 18 )\n  {\n    if ( v11 )\n      return ((int (__fastcall *)(_DWORD *, int, unsigned int, const char *, int))a1[14])(a1, a2, a3, a4, a5);\n    ERR_put_error(38, 142, 120, \"crypto/engine/eng_ctrl.c\", 179);\n    return v11;\n  }\n  if ( v11 )\n  {\n    result = a1[19] & 2;\n    if ( result )\n      return ((int (__fastcall *)(_DWORD *, int, unsigned int, const char *, int))a1[14])(a1, a2, a3, a4, a5);\n    if ( a2 == 11 )\n    {\n      v34 = (_DWORD *)a1[18];\n      if ( v34 && *v34 )\n      {\n        if ( v34[1] )\n          return *v34;\n        else\n          return 0;\n      }\n    }\n    else\n    {\n      v13 = a2 == 17;\n      if ( a2 != 17 )\n        v13 = (a2 & 0xFFFFFFFD) == 13;\n      if ( !v13 || a4 )\n      {\n        if ( a2 == 13 )\n        {\n          v35 = (_DWORD *)a1[18];\n          if ( v35 && *v35 && v35[1] )\n          {\n            v36 = a1[18];\n            v37 = 0;\n            while ( strcmp(*(const char **)(v36 + 4), a4) )\n            {\n              v38 = *(_DWORD *)(v36 + 16);\n              ++v37;\n              v36 += 16;\n              if ( !v38 || !*(_DWORD *)(v36 + 4) )\n                goto LABEL_65;\n            }\n            return v35[4 * v37];\n          }\n          else\n          {\nLABEL_65:\n            ERR_put_error(38, 172, 137, \"crypto/engine/eng_ctrl.c\", 85);\n            return -1;\n          }\n        }\n        else\n        {\n          v14 = (unsigned int *)a1[18];\n          if ( !v14 )\n            goto LABEL_34;\n          v15 = *v14;\n          if ( *v14 )\n          {\n            v16 = v14[1];\n            v17 = v16 != 0;\n            if ( v16 )\n              v17 = a3 > v15;\n            if ( v17 )\n            {\n              v18 = a1[18];\n              v19 = 0;\n              do\n              {\n                v15 = *(_DWORD *)(v18 + 16);\n                ++v19;\n                if ( !v15 )\n                  break;\n                v20 = *(_DWORD *)(v18 + 20);\n                v18 += 16;\n                v21 = v20 != 0;\n                if ( v20 )\n                  v21 = a3 > v15;\n              }\n              while ( v21 );\n            }\n            else\n            {\n              v19 = 0;\n            }\n          }\n          else\n          {\n            v19 = 0;\n          }\n          if ( v15 == a3 )\n          {\n            switch ( a2 )\n            {\n              case 12:\n                v31 = v19 + 1;\n                v32 = v14[4 * v31];\n                v33 = &v14[4 * v31];\n                if ( v32 )\n                {\n                  if ( v33[1] )\n                    return v32;\n                  else\n                    return 0;\n                }\n                return result;\n              case 14:\n                v29 = (const char *)v14[4 * v19 + 1];\n                return strlen(v29);\n              case 15:\n                v30 = (const char *)v14[4 * v19 + 1];\n                v24 = strlen(v30);\n                v25 = (char *)v30;\n                goto LABEL_39;\n              case 16:\n                v28 = &v14[4 * v19];\n                if ( v28[2] )\n                {\n                  v29 = (const char *)v28[2];\n                  return strlen(v29);\n                }\n                return result;\n              case 17:\n                v22 = &v14[4 * v19];\n                v23 = (char *)v22[2];\n                if ( v23 )\n                {\n                  v24 = strlen((const char *)v22[2]);\n                  v25 = v23;\nLABEL_39:\n                  v26 = v24 + 1;\n                  v27 = a4;\n                }\n                else\n                {\n                  v27 = a4;\n                  v26 = 1;\n                  v25 = &byte_9B1912;\n                }\n                result = BIO_snprintf(v27, v26, \"%s\", v25);\n                break;\n              case 18:\n                return v14[4 * v19 + 3];\n            }\n          }\n          else\n          {\nLABEL_34:\n            ERR_put_error(38, 172, 138, \"crypto/engine/eng_ctrl.c\", 97);\n            return -1;\n          }\n        }\n      }\n      else\n      {\n        ERR_put_error(38, 172, 67, \"crypto/engine/eng_ctrl.c\", 77);\n        return -1;\n      }\n    }\n  }\n  else\n  {\n    ERR_put_error(38, 142, 120, \"crypto/engine/eng_ctrl.c\", 166);\n    return -1;\n  }\n  return result;\n}", "assembly": "; \n; ENGINE_ctrl from 0x7f6374 to 0x7f6790 (1052 bytes)\n; \n; 10 xrefs:\n; > sub_643938 @ 0x6440f6\n; > ENGINE_cmd_is_executable @ 0x7f67e0\n; > ENGINE_ctrl_cmd @ 0x7f686c\n; > ENGINE_ctrl_cmd @ 0x7f688c\n; > ENGINE_ctrl_cmd_string @ 0x7f6964\n; > ENGINE_ctrl_cmd_string @ 0x7f6998\n; > ENGINE_ctrl_cmd_string @ 0x7f6b20\n; > ENGINE_ctrl_cmd_string @ 0x7f6b48\n; > ENGINE_ctrl_cmd_string @ 0x7f6b90\n; > <???> @ 0x552bc\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\nPUSH            {R4-R10,LR}                                            ; +0x0, 0x7f6374\nSUBS            R5, R0, #0                                             ; +0x4, 0x7f6378\nSUB             SP, SP, #8                                             ; +0x8, 0x7f637c\nLDR             R8, [SP,#8+arg_0]                                      ; +0xc, 0x7f6380\nBEQ             loc_7F6440                                             ; +0x10, 0x7f6384\nLDR             R4, =(global_engine_lock_ptr - 0x7F6398)               ; +0x14, 0x7f6388\nMOV             R6, R1                                                 ; +0x18, 0x7f638c\nLDR             R4, [PC,R4]; global_engine_lock                        ; +0x1c, 0x7f6390\nMOV             R9, R2                                                 ; +0x20, 0x7f6394\nLDR             R0, [R4]                                               ; +0x24, 0x7f6398\nMOV             R7, R3                                                 ; +0x28, 0x7f639c\nBL              CRYPTO_THREAD_write_lock                               ; +0x2c, 0x7f63a0\nLDR             R0, [R4]                                               ; +0x30, 0x7f63a4\nLDR             R10, [R5,#0x50]                                        ; +0x34, 0x7f63a8\nBL              CRYPTO_THREAD_unlock                                   ; +0x38, 0x7f63ac\nLDR             R12, [R5,#0x38]                                        ; +0x3c, 0x7f63b0\nMOVS            R4, R12                                                ; +0x40, 0x7f63b4\nMOVNE           R4, #1                                                 ; +0x44, 0x7f63b8\nCMP             R10, #0                                                ; +0x48, 0x7f63bc\nBLE             loc_7F646C                                             ; +0x4c, 0x7f63c0\nCMP             R6, #0xA                                               ; +0x50, 0x7f63c4\nBEQ             loc_7F6434                                             ; +0x54, 0x7f63c8\nBLT             loc_7F640C                                             ; +0x58, 0x7f63cc\nCMP             R6, #0x12                                              ; +0x5c, 0x7f63d0\nBGT             loc_7F640C                                             ; +0x60, 0x7f63d4\nCMP             R4, #0                                                 ; +0x64, 0x7f63d8\nBEQ             loc_7F6494                                             ; +0x68, 0x7f63dc\nLDR             R4, [R5,#0x4C]                                         ; +0x6c, 0x7f63e0\nANDS            R0, R4, #2                                             ; +0x70, 0x7f63e4\nBEQ             loc_7F64BC                                             ; +0x74, 0x7f63e8\nMOV             R0, R5                                                 ; +0x78, 0x7f63ec\nMOV             R1, R6                                                 ; +0x7c, 0x7f63f0\nMOV             R2, R9                                                 ; +0x80, 0x7f63f4\nMOV             R3, R7                                                 ; +0x84, 0x7f63f8\nSTR             R8, [SP,#8+arg_0]                                      ; +0x88, 0x7f63fc\nADD             SP, SP, #8                                             ; +0x8c, 0x7f6400\nPOP             {R4-R10,LR}                                            ; +0x90, 0x7f6404\nBX              R12                                                    ; +0x94, 0x7f6408\nCMP             R4, #0                                                 ; +0x98, 0x7f640c\nBNE             loc_7F63EC                                             ; +0x9c, 0x7f6410\nMOV             R3, #0xB3                                              ; +0xa0, 0x7f6414\nSTR             R3, [SP,#8+var_8]                                      ; +0xa4, 0x7f6418\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F6434); \"crypto/engine/eng_ctrl.c\" ; +0xa8, 0x7f641c\nMOV             R0, #0x26 ; '&'                                        ; +0xac, 0x7f6420\nMOV             R1, #0x8E                                              ; +0xb0, 0x7f6424\nMOV             R2, #0x78 ; 'x'                                        ; +0xb4, 0x7f6428\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0xb8, 0x7f642c\nBL              ERR_put_error                                          ; +0xbc, 0x7f6430\nMOV             R0, R4                                                 ; +0xc0, 0x7f6434\nADD             SP, SP, #8                                             ; +0xc4, 0x7f6438\nPOP             {R4-R10,PC}                                            ; +0xc8, 0x7f643c\nMOV             R3, #0x89                                              ; +0xcc, 0x7f6440\nSTR             R3, [SP,#8+var_8]                                      ; +0xd0, 0x7f6444\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F6460); \"crypto/engine/eng_ctrl.c\" ; +0xd4, 0x7f6448\nMOV             R0, #0x26 ; '&'                                        ; +0xd8, 0x7f644c\nMOV             R1, #0x8E                                              ; +0xdc, 0x7f6450\nMOV             R2, #0x43 ; 'C'                                        ; +0xe0, 0x7f6454\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0xe4, 0x7f6458\nBL              ERR_put_error                                          ; +0xe8, 0x7f645c\nMOV             R0, R5                                                 ; +0xec, 0x7f6460\nADD             SP, SP, #8                                             ; +0xf0, 0x7f6464\nPOP             {R4-R10,PC}                                            ; +0xf4, 0x7f6468\nMOV             R3, #0x91                                              ; +0xf8, 0x7f646c\nSTR             R3, [SP,#8+var_8]                                      ; +0xfc, 0x7f6470\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F648C); \"crypto/engine/eng_ctrl.c\" ; +0x100, 0x7f6474\nMOV             R0, #0x26 ; '&'                                        ; +0x104, 0x7f6478\nMOV             R1, #0x8E                                              ; +0x108, 0x7f647c\nMOV             R2, #0x82                                              ; +0x10c, 0x7f6480\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x110, 0x7f6484\nBL              ERR_put_error                                          ; +0x114, 0x7f6488\nMOV             R0, #0                                                 ; +0x118, 0x7f648c\nB               loc_7F6438                                             ; +0x11c, 0x7f6490\nMOV             R3, #0xA6                                              ; +0x120, 0x7f6494\nSTR             R3, [SP,#8+var_8]                                      ; +0x124, 0x7f6498\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F64B4); \"crypto/engine/eng_ctrl.c\" ; +0x128, 0x7f649c\nMOV             R0, #0x26 ; '&'                                        ; +0x12c, 0x7f64a0\nMOV             R1, #0x8E                                              ; +0x130, 0x7f64a4\nMOV             R2, #0x78 ; 'x'                                        ; +0x134, 0x7f64a8\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x138, 0x7f64ac\nBL              ERR_put_error                                          ; +0x13c, 0x7f64b0\nMOV             R0, #0xFFFFFFFF                                        ; +0x140, 0x7f64b4\nB               loc_7F6438                                             ; +0x144, 0x7f64b8\nCMP             R6, #0xB                                               ; +0x148, 0x7f64bc\nBEQ             loc_7F66A8                                             ; +0x14c, 0x7f64c0\nBIC             R3, R6, #2                                             ; +0x150, 0x7f64c4\nCMP             R6, #0x11                                              ; +0x154, 0x7f64c8\nCMPNE           R3, #0xD                                               ; +0x158, 0x7f64cc\nBEQ             loc_7F6678                                             ; +0x15c, 0x7f64d0\nCMP             R6, #0xD                                               ; +0x160, 0x7f64d4\nBEQ             loc_7F66D4                                             ; +0x164, 0x7f64d8\nLDR             LR, [R5,#0x48]                                         ; +0x168, 0x7f64dc\nCMP             LR, #0                                                 ; +0x16c, 0x7f64e0\nBEQ             loc_7F6544                                             ; +0x170, 0x7f64e4\nLDR             R2, [LR]                                               ; +0x174, 0x7f64e8\nCMP             R2, #0                                                 ; +0x178, 0x7f64ec\nBEQ             loc_7F6764                                             ; +0x17c, 0x7f64f0\nLDR             R3, [LR,#4]                                            ; +0x180, 0x7f64f4\nCMP             R3, #0                                                 ; +0x184, 0x7f64f8\nCMPNE           R9, R2                                                 ; +0x188, 0x7f64fc\nMOVHI           R3, #1                                                 ; +0x18c, 0x7f6500\nMOVLS           R3, #0                                                 ; +0x190, 0x7f6504\nBLS             loc_7F676C                                             ; +0x194, 0x7f6508\nMOV             R3, LR                                                 ; +0x198, 0x7f650c\nMOV             R1, #0                                                 ; +0x19c, 0x7f6510\nB               loc_7F652C                                             ; +0x1a0, 0x7f6514\nLDR             R12, [R3,#0x14]                                        ; +0x1a4, 0x7f6518\nADD             R3, R3, #0x10                                          ; +0x1a8, 0x7f651c\nCMP             R12, #0                                                ; +0x1ac, 0x7f6520\nCMPNE           R9, R2                                                 ; +0x1b0, 0x7f6524\nBLS             loc_7F653C                                             ; +0x1b4, 0x7f6528\nLDR             R2, [R3,#0x10]                                         ; +0x1b8, 0x7f652c\nADD             R1, R1, #1                                             ; +0x1bc, 0x7f6530\nCMP             R2, #0                                                 ; +0x1c0, 0x7f6534\nBNE             loc_7F6518                                             ; +0x1c4, 0x7f6538\nCMP             R2, R9                                                 ; +0x1c8, 0x7f653c\nBEQ             loc_7F656C                                             ; +0x1cc, 0x7f6540\nMOV             R3, #0x61 ; 'a'                                        ; +0x1d0, 0x7f6544\nSTR             R3, [SP,#8+var_8]                                      ; +0x1d4, 0x7f6548\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F6564); \"crypto/engine/eng_ctrl.c\" ; +0x1d8, 0x7f654c\nMOV             R0, #0x26 ; '&'                                        ; +0x1dc, 0x7f6550\nMOV             R1, #0xAC                                              ; +0x1e0, 0x7f6554\nMOV             R2, #0x8A                                              ; +0x1e4, 0x7f6558\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x1e8, 0x7f655c\nBL              ERR_put_error                                          ; +0x1ec, 0x7f6560\nMOV             R0, #0xFFFFFFFF                                        ; +0x1f0, 0x7f6564\nB               loc_7F6438                                             ; +0x1f4, 0x7f6568\nSUB             R6, R6, #0xC                                           ; +0x1f8, 0x7f656c\nCMP             R6, #6; switch 7 cases                                 ; +0x1fc, 0x7f6570\nADDLS           PC, PC, R6,LSL#2; switch jump                          ; +0x200, 0x7f6574\nB               def_7F6574; jumptable 007F6574 default case, case 1    ; +0x204, 0x7f6578\nB               loc_7F6628; jumptable 007F6574 case 0                  ; +0x208, 0x7f657c\nB               def_7F6574; jumptable 007F6574 default case, case 1    ; +0x20c, 0x7f6580\nB               loc_7F661C; jumptable 007F6574 case 2                  ; +0x210, 0x7f6584\nB               loc_7F65FC; jumptable 007F6574 case 3                  ; +0x214, 0x7f6588\nB               loc_7F65DC; jumptable 007F6574 case 4                  ; +0x218, 0x7f658c\nB               loc_7F65A4; jumptable 007F6574 case 5                  ; +0x21c, 0x7f6590\nB               loc_7F6598; jumptable 007F6574 case 6                  ; +0x220, 0x7f6594\nADD             R1, LR, R1,LSL#4; jumptable 007F6574 case 6            ; +0x224, 0x7f6598\nLDR             R0, [R1,#0xC]                                          ; +0x228, 0x7f659c\nB               loc_7F6438                                             ; +0x22c, 0x7f65a0\nADD             R1, LR, R1,LSL#4; jumptable 007F6574 case 5            ; +0x230, 0x7f65a4\nLDR             R4, [R1,#8]                                            ; +0x234, 0x7f65a8\nCMP             R4, #0                                                 ; +0x238, 0x7f65ac\nBEQ             loc_7F6774                                             ; +0x23c, 0x7f65b0\nMOV             R0, R4; char *                                         ; +0x240, 0x7f65b4\nBL              strlen                                                 ; +0x244, 0x7f65b8\nLDR             R2, =(aS_37 - 0x7F65CC); \"%s\"                          ; +0x248, 0x7f65bc\nMOV             R3, R4                                                 ; +0x24c, 0x7f65c0\nADD             R2, PC, R2; \"%s\"                                       ; +0x250, 0x7f65c4\nADD             R1, R0, #1                                             ; +0x254, 0x7f65c8\nMOV             R0, R7                                                 ; +0x258, 0x7f65cc\nADD             SP, SP, #8                                             ; +0x25c, 0x7f65d0\nPOP             {R4-R10,LR}                                            ; +0x260, 0x7f65d4\nB               BIO_snprintf                                           ; +0x264, 0x7f65d8\nADD             R1, LR, R1,LSL#4; jumptable 007F6574 case 4            ; +0x268, 0x7f65dc\nLDR             R3, [R1,#8]                                            ; +0x26c, 0x7f65e0\nCMP             R3, #0                                                 ; +0x270, 0x7f65e4\nBEQ             loc_7F6438                                             ; +0x274, 0x7f65e8\nMOV             R0, R3; char *                                         ; +0x278, 0x7f65ec\nADD             SP, SP, #8                                             ; +0x27c, 0x7f65f0\nPOP             {R4-R10,LR}                                            ; +0x280, 0x7f65f4\nB               strlen                                                 ; +0x284, 0x7f65f8\nADD             R1, LR, R1,LSL#4; jumptable 007F6574 case 3            ; +0x288, 0x7f65fc\nLDR             R4, [R1,#4]                                            ; +0x28c, 0x7f6600\nMOV             R0, R4; char *                                         ; +0x290, 0x7f6604\nBL              strlen                                                 ; +0x294, 0x7f6608\nLDR             R2, =(aS_37 - 0x7F661C); \"%s\"                          ; +0x298, 0x7f660c\nMOV             R3, R4                                                 ; +0x29c, 0x7f6610\nADD             R2, PC, R2; \"%s\"                                       ; +0x2a0, 0x7f6614\nB               loc_7F65C8                                             ; +0x2a4, 0x7f6618\nADD             R1, LR, R1,LSL#4; jumptable 007F6574 case 2            ; +0x2a8, 0x7f661c\nLDR             R0, [R1,#4]                                            ; +0x2ac, 0x7f6620\nB               loc_7F65F0                                             ; +0x2b0, 0x7f6624\nADD             R1, R1, #1; jumptable 007F6574 case 0                  ; +0x2b4, 0x7f6628\nLDR             R3, [LR,R1,LSL#4]                                      ; +0x2b8, 0x7f662c\nADD             R1, LR, R1,LSL#4                                       ; +0x2bc, 0x7f6630\nCMP             R3, #0                                                 ; +0x2c0, 0x7f6634\nBEQ             loc_7F6438                                             ; +0x2c4, 0x7f6638\nLDR             R4, [R1,#4]                                            ; +0x2c8, 0x7f663c\nCMP             R4, #0                                                 ; +0x2cc, 0x7f6640\nMOVNE           R0, R3                                                 ; +0x2d0, 0x7f6644\nMOVEQ           R0, #0                                                 ; +0x2d4, 0x7f6648\nB               loc_7F6438                                             ; +0x2d8, 0x7f664c\nMOV             R3, #0x81; jumptable 007F6574 default case, case 1     ; +0x2dc, 0x7f6650\nSTR             R3, [SP,#8+var_8]                                      ; +0x2e0, 0x7f6654\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F6670); \"crypto/engine/eng_ctrl.c\" ; +0x2e4, 0x7f6658\nMOV             R0, #0x26 ; '&'                                        ; +0x2e8, 0x7f665c\nMOV             R1, #0xAC                                              ; +0x2ec, 0x7f6660\nMOV             R2, #0x6E ; 'n'                                        ; +0x2f0, 0x7f6664\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x2f4, 0x7f6668\nBL              ERR_put_error                                          ; +0x2f8, 0x7f666c\nMOV             R0, #0xFFFFFFFF                                        ; +0x2fc, 0x7f6670\nB               loc_7F6438                                             ; +0x300, 0x7f6674\nCMP             R7, #0                                                 ; +0x304, 0x7f6678\nBNE             loc_7F64D4                                             ; +0x308, 0x7f667c\nMOV             R3, #0x4D ; 'M'                                        ; +0x30c, 0x7f6680\nSTR             R3, [SP,#8+var_8]                                      ; +0x310, 0x7f6684\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F66A0); \"crypto/engine/eng_ctrl.c\" ; +0x314, 0x7f6688\nMOV             R0, #0x26 ; '&'                                        ; +0x318, 0x7f668c\nMOV             R1, #0xAC                                              ; +0x31c, 0x7f6690\nMOV             R2, #0x43 ; 'C'                                        ; +0x320, 0x7f6694\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x324, 0x7f6698\nBL              ERR_put_error                                          ; +0x328, 0x7f669c\nMOV             R0, #0xFFFFFFFF                                        ; +0x32c, 0x7f66a0\nB               loc_7F6438                                             ; +0x330, 0x7f66a4\nLDR             R3, [R5,#0x48]                                         ; +0x334, 0x7f66a8\nCMP             R3, #0                                                 ; +0x338, 0x7f66ac\nBEQ             loc_7F6438                                             ; +0x33c, 0x7f66b0\nLDR             R2, [R3]                                               ; +0x340, 0x7f66b4\nCMP             R2, #0                                                 ; +0x344, 0x7f66b8\nBEQ             loc_7F6438                                             ; +0x348, 0x7f66bc\nLDR             R4, [R3,#4]                                            ; +0x34c, 0x7f66c0\nCMP             R4, #0                                                 ; +0x350, 0x7f66c4\nMOVNE           R0, R2                                                 ; +0x354, 0x7f66c8\nMOVEQ           R0, #0                                                 ; +0x358, 0x7f66cc\nB               loc_7F6438                                             ; +0x35c, 0x7f66d0\nLDR             R6, [R5,#0x48]                                         ; +0x360, 0x7f66d4\nCMP             R6, #0                                                 ; +0x364, 0x7f66d8\nBEQ             loc_7F6734                                             ; +0x368, 0x7f66dc\nLDR             R3, [R6]                                               ; +0x36c, 0x7f66e0\nCMP             R3, #0                                                 ; +0x370, 0x7f66e4\nBEQ             loc_7F6734                                             ; +0x374, 0x7f66e8\nLDR             R3, [R6,#4]                                            ; +0x378, 0x7f66ec\nCMP             R3, #0                                                 ; +0x37c, 0x7f66f0\nMOVNE           R4, R6                                                 ; +0x380, 0x7f66f4\nMOVNE           R5, #0                                                 ; +0x384, 0x7f66f8\nBEQ             loc_7F6734                                             ; +0x388, 0x7f66fc\nLDR             R0, [R4,#4]; char *                                    ; +0x38c, 0x7f6700\nMOV             R1, R7; char *                                         ; +0x390, 0x7f6704\nBL              strcmp                                                 ; +0x394, 0x7f6708\nCMP             R0, #0                                                 ; +0x398, 0x7f670c\nBEQ             loc_7F675C                                             ; +0x39c, 0x7f6710\nLDR             R3, [R4,#0x10]                                         ; +0x3a0, 0x7f6714\nADD             R5, R5, #1                                             ; +0x3a4, 0x7f6718\nCMP             R3, #0                                                 ; +0x3a8, 0x7f671c\nADD             R4, R4, #0x10                                          ; +0x3ac, 0x7f6720\nBEQ             loc_7F6734                                             ; +0x3b0, 0x7f6724\nLDR             R3, [R4,#4]                                            ; +0x3b4, 0x7f6728\nCMP             R3, #0                                                 ; +0x3b8, 0x7f672c\nBNE             loc_7F6700                                             ; +0x3bc, 0x7f6730\nMOV             R3, #0x55 ; 'U'                                        ; +0x3c0, 0x7f6734\nSTR             R3, [SP,#8+var_8]                                      ; +0x3c4, 0x7f6738\nLDR             R3, =(aCryptoEngineEn_0 - 0x7F6754); \"crypto/engine/eng_ctrl.c\" ; +0x3c8, 0x7f673c\nMOV             R0, #0x26 ; '&'                                        ; +0x3cc, 0x7f6740\nMOV             R1, #0xAC                                              ; +0x3d0, 0x7f6744\nMOV             R2, #0x89                                              ; +0x3d4, 0x7f6748\nADD             R3, PC, R3; \"crypto/engine/eng_ctrl.c\"                 ; +0x3d8, 0x7f674c\nBL              ERR_put_error                                          ; +0x3dc, 0x7f6750\nMOV             R0, #0xFFFFFFFF                                        ; +0x3e0, 0x7f6754\nB               loc_7F6438                                             ; +0x3e4, 0x7f6758\nLDR             R0, [R6,R5,LSL#4]                                      ; +0x3e8, 0x7f675c\nB               loc_7F6438                                             ; +0x3ec, 0x7f6760\nMOV             R1, R2                                                 ; +0x3f0, 0x7f6764\nB               loc_7F653C                                             ; +0x3f4, 0x7f6768\nMOV             R1, R3                                                 ; +0x3f8, 0x7f676c\nB               loc_7F653C                                             ; +0x3fc, 0x7f6770\nLDR             R2, =(aS_37 - 0x7F678C); \"%s\"                          ; +0x400, 0x7f6774\nLDR             R3, =(byte_9B1912 - 0x7F6790)                          ; +0x404, 0x7f6778\nMOV             R0, R7                                                 ; +0x408, 0x7f677c\nMOV             R1, #1                                                 ; +0x40c, 0x7f6780\nADD             R2, PC, R2; \"%s\"                                       ; +0x410, 0x7f6784\nADD             R3, PC, R3; byte_9B1912                                ; +0x414, 0x7f6788\nB               loc_7F65D0                                             ; +0x418, 0x7f678c", "xrefs": ["sub_643938 @ 0x6440f6", "ENGINE_cmd_is_executable @ 0x7f67e0", "ENGINE_ctrl_cmd @ 0x7f686c", "ENGINE_ctrl_cmd @ 0x7f688c", "ENGINE_ctrl_cmd_string @ 0x7f6964", "ENGINE_ctrl_cmd_string @ 0x7f6998", "ENGINE_ctrl_cmd_string @ 0x7f6b20", "ENGINE_ctrl_cmd_string @ 0x7f6b48", "ENGINE_ctrl_cmd_string @ 0x7f6b90", "<???> @ 0x552bc"], "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"}