{"type": "func", "start": 14272516, "end": 14272604, "name": "ENGINE_cmd_is_executable", "pseudocode": "// \n// ENGINE_cmd_is_executable from 0xd9c804 to 0xd9c85c (88 bytes)\n// \n// 2 xrefs:\n// > ENGINE_ctrl_cmd_string @ 0xd9c9cc\n// > <???> @ 0x7d820\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\nbool __fastcall ENGINE_cmd_is_executable(__int64 a1, int a2)\n{\n  int v2; // w0\n\n  v2 = ENGINE_ctrl(a1, 18, a2, nullptr, 0);\n  if ( (v2 & 0x80000000) == 0 )\n    return (v2 & 7) != 0;\n  ERR_put_error(38, 170, 138, \"crypto/engine/eng_ctrl.c\", 191);\n  return 0;\n}", "assembly": "; \n; ENGINE_cmd_is_executable from 0xd9c804 to 0xd9c85c (88 bytes)\n; \n; 2 xrefs:\n; > ENGINE_ctrl_cmd_string @ 0xd9c9cc\n; > <???> @ 0x7d820\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xd9c804\nMOV             X3, #0                                                 ; +0x4, 0xd9c808\nSXTW            X2, W1                                                 ; +0x8, 0xd9c80c\nMOV             X29, SP                                                ; +0xc, 0xd9c810\nMOV             W1, #0x12                                              ; +0x10, 0xd9c814\nMOV             X4, X3                                                 ; +0x14, 0xd9c818\nBL              ENGINE_ctrl                                            ; +0x18, 0xd9c81c\nTBNZ            W0, #0x1F, loc_D9C838                                  ; +0x1c, 0xd9c820\nAND             W0, W0, #7                                             ; +0x20, 0xd9c824\nCMP             W0, WZR                                                ; +0x24, 0xd9c828\nCSET            W0, NE                                                 ; +0x28, 0xd9c82c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x2c, 0xd9c830\nRET                                                                    ; +0x30, 0xd9c834\nADRP            X3, #aCryptoEngineEn_0@PAGE; \"crypto/engine/eng_ctrl.c\" ; +0x34, 0xd9c838\nMOV             W0, #0x26 ; '&'                                        ; +0x38, 0xd9c83c\nMOV             W1, #0xAA                                              ; +0x3c, 0xd9c840\nMOV             W2, #0x8A                                              ; +0x40, 0xd9c844\nADD             X3, X3, #aCryptoEngineEn_0@PAGEOFF; \"crypto/engine/eng_ctrl.c\" ; +0x44, 0xd9c848\nMOV             W4, #0xBF                                              ; +0x48, 0xd9c84c\nBL              ERR_put_error                                          ; +0x4c, 0xd9c850\nMOV             W0, #0                                                 ; +0x50, 0xd9c854\nB               loc_D9C830                                             ; +0x54, 0xd9c858", "xrefs": ["ENGINE_ctrl_cmd_string @ 0xd9c9cc", "<???> @ 0x7d820"], "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"}