{"type": "func", "start": 8360296, "end": 8360376, "name": "ENGINE_set_default_EC", "pseudocode": "// \n// ENGINE_set_default_EC from 0x7f9168 to 0x7f91b8 (80 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x7f6f20\n// > <???> @ 0x6221c\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_set_default_EC(int a1)\n{\n  if ( *(_DWORD *)(a1 + 20) )\n    return engine_table_register(&unk_AD2EA0, sub_7F90BC, a1, &unk_A12874, 1, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_EC from 0x7f9168 to 0x7f91b8 (80 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x7f6f20\n; > <???> @ 0x6221c\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\nLDR             R3, [R0,#0x14]                                         ; +0x0, 0x7f9168\nCMP             R3, #0                                                 ; +0x4, 0x7f916c\nBEQ             loc_7F91B0                                             ; +0x8, 0x7f9170\nPUSH            {LR}                                                   ; +0xc, 0x7f9174\nMOV             R3, #1                                                 ; +0x10, 0x7f9178\nSUB             SP, SP, #0xC                                           ; +0x14, 0x7f917c\nMOV             R2, R0                                                 ; +0x18, 0x7f9180\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x1c, 0x7f9184\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x20, 0x7f9188\nLDR             R0, =(unk_AD2EA0 - 0x7F91A8)                           ; +0x24, 0x7f918c\nLDR             R1, =(sub_7F90BC - 0x7F91A0)                           ; +0x28, 0x7f9190\nLDR             R3, =(unk_A12874 - 0x7F91A4)                           ; +0x2c, 0x7f9194\nADD             R1, PC, R1; sub_7F90BC                                 ; +0x30, 0x7f9198\nADD             R3, PC, R3; unk_A12874                                 ; +0x34, 0x7f919c\nADD             R0, PC, R0; unk_AD2EA0                                 ; +0x38, 0x7f91a0\nBL              engine_table_register                                  ; +0x3c, 0x7f91a4\nADD             SP, SP, #0xC                                           ; +0x40, 0x7f91a8\nPOP             {PC}                                                   ; +0x44, 0x7f91ac\nMOV             R0, #1                                                 ; +0x48, 0x7f91b0\nBX              LR                                                     ; +0x4c, 0x7f91b4", "xrefs": ["ENGINE_set_default @ 0x7f6f20", "<???> @ 0x6221c"], "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"}