{"type": "func", "start": 10542440, "end": 10542520, "name": "ENGINE_set_default_EC", "pseudocode": "// \n// ENGINE_set_default_EC from 0xa0dd68 to 0xa0ddb8 (80 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0xa0bb20\n// > <???> @ 0x7bc9c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:44 +0000\n// \n\nint __fastcall ENGINE_set_default_EC(int a1)\n{\n  if ( *(_DWORD *)(a1 + 20) )\n    return engine_table_register(&unk_D3412C, sub_A0DCBC, a1, &unk_C57544, 1, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_EC from 0xa0dd68 to 0xa0ddb8 (80 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0xa0bb20\n; > <???> @ 0x7bc9c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:44 +0000\n; \nLDR             R3, [R0,#0x14]                                         ; +0x0, 0xa0dd68\nCMP             R3, #0                                                 ; +0x4, 0xa0dd6c\nBEQ             loc_A0DDB0                                             ; +0x8, 0xa0dd70\nPUSH            {LR}                                                   ; +0xc, 0xa0dd74\nMOV             R3, #1                                                 ; +0x10, 0xa0dd78\nSUB             SP, SP, #0xC                                           ; +0x14, 0xa0dd7c\nMOV             R2, R0                                                 ; +0x18, 0xa0dd80\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x1c, 0xa0dd84\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x20, 0xa0dd88\nLDR             R0, =(unk_D3412C - 0xA0DDA8)                           ; +0x24, 0xa0dd8c\nLDR             R1, =(sub_A0DCBC - 0xA0DDA0)                           ; +0x28, 0xa0dd90\nLDR             R3, =(unk_C57544 - 0xA0DDA4)                           ; +0x2c, 0xa0dd94\nADD             R1, PC, R1; sub_A0DCBC                                 ; +0x30, 0xa0dd98\nADD             R3, PC, R3; unk_C57544                                 ; +0x34, 0xa0dd9c\nADD             R0, PC, R0; unk_D3412C                                 ; +0x38, 0xa0dda0\nBL              engine_table_register                                  ; +0x3c, 0xa0dda4\nADD             SP, SP, #0xC                                           ; +0x40, 0xa0dda8\nPOP             {PC}                                                   ; +0x44, 0xa0ddac\nMOV             R0, #1                                                 ; +0x48, 0xa0ddb0\nBX              LR                                                     ; +0x4c, 0xa0ddb4", "xrefs": ["ENGINE_set_default @ 0xa0bb20", "<???> @ 0x7bc9c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}