{"type": "func", "start": 10542304, "end": 10542384, "name": "ENGINE_register_EC", "pseudocode": "// \n// ENGINE_register_EC from 0xa0dce0 to 0xa0dd30 (80 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0xa0bc44\n// > ENGINE_register_all_EC @ 0xa0dd50\n// > <???> @ 0x7bd3c\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_register_EC(int a1)\n{\n  if ( *(_DWORD *)(a1 + 20) )\n    return engine_table_register(&unk_D3412C, sub_A0DCBC, a1, &unk_C57544, 1, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_EC from 0xa0dce0 to 0xa0dd30 (80 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0xa0bc44\n; > ENGINE_register_all_EC @ 0xa0dd50\n; > <???> @ 0x7bd3c\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, 0xa0dce0\nCMP             R3, #0                                                 ; +0x4, 0xa0dce4\nBEQ             loc_A0DD28                                             ; +0x8, 0xa0dce8\nPUSH            {LR}                                                   ; +0xc, 0xa0dcec\nMOV             R1, #1                                                 ; +0x10, 0xa0dcf0\nSUB             SP, SP, #0xC                                           ; +0x14, 0xa0dcf4\nMOV             R3, #0                                                 ; +0x18, 0xa0dcf8\nSTMEA           SP, {R1,R3}                                            ; +0x1c, 0xa0dcfc\nMOV             R2, R0                                                 ; +0x20, 0xa0dd00\nLDR             R1, =(sub_A0DCBC - 0xA0DD18)                           ; +0x24, 0xa0dd04\nLDR             R0, =(unk_D3412C - 0xA0DD20)                           ; +0x28, 0xa0dd08\nLDR             R3, =(unk_C57544 - 0xA0DD1C)                           ; +0x2c, 0xa0dd0c\nADD             R1, PC, R1; sub_A0DCBC                                 ; +0x30, 0xa0dd10\nADD             R3, PC, R3; unk_C57544                                 ; +0x34, 0xa0dd14\nADD             R0, PC, R0; unk_D3412C                                 ; +0x38, 0xa0dd18\nBL              engine_table_register                                  ; +0x3c, 0xa0dd1c\nADD             SP, SP, #0xC                                           ; +0x40, 0xa0dd20\nPOP             {PC}                                                   ; +0x44, 0xa0dd24\nMOV             R0, #1                                                 ; +0x48, 0xa0dd28\nBX              LR                                                     ; +0x4c, 0xa0dd2c", "xrefs": ["ENGINE_register_complete @ 0xa0bc44", "ENGINE_register_all_EC @ 0xa0dd50", "<???> @ 0x7bd3c"], "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"}