{"type": "func", "start": 8360160, "end": 8360240, "name": "ENGINE_register_EC", "pseudocode": "// \n// ENGINE_register_EC from 0x7f90e0 to 0x7f9130 (80 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0x7f7044\n// > ENGINE_register_all_EC @ 0x7f9150\n// > <???> @ 0x622bc\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_register_EC(int a1)\n{\n  if ( *(_DWORD *)(a1 + 20) )\n    return engine_table_register(&unk_AD2EA0, sub_7F90BC, a1, &unk_A12874, 1, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_EC from 0x7f90e0 to 0x7f9130 (80 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0x7f7044\n; > ENGINE_register_all_EC @ 0x7f9150\n; > <???> @ 0x622bc\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, 0x7f90e0\nCMP             R3, #0                                                 ; +0x4, 0x7f90e4\nBEQ             loc_7F9128                                             ; +0x8, 0x7f90e8\nPUSH            {LR}                                                   ; +0xc, 0x7f90ec\nMOV             R1, #1                                                 ; +0x10, 0x7f90f0\nSUB             SP, SP, #0xC                                           ; +0x14, 0x7f90f4\nMOV             R3, #0                                                 ; +0x18, 0x7f90f8\nSTMEA           SP, {R1,R3}                                            ; +0x1c, 0x7f90fc\nMOV             R2, R0                                                 ; +0x20, 0x7f9100\nLDR             R1, =(sub_7F90BC - 0x7F9118)                           ; +0x24, 0x7f9104\nLDR             R0, =(unk_AD2EA0 - 0x7F9120)                           ; +0x28, 0x7f9108\nLDR             R3, =(unk_A12874 - 0x7F911C)                           ; +0x2c, 0x7f910c\nADD             R1, PC, R1; sub_7F90BC                                 ; +0x30, 0x7f9110\nADD             R3, PC, R3; unk_A12874                                 ; +0x34, 0x7f9114\nADD             R0, PC, R0; unk_AD2EA0                                 ; +0x38, 0x7f9118\nBL              engine_table_register                                  ; +0x3c, 0x7f911c\nADD             SP, SP, #0xC                                           ; +0x40, 0x7f9120\nPOP             {PC}                                                   ; +0x44, 0x7f9124\nMOV             R0, #1                                                 ; +0x48, 0x7f9128\nBX              LR                                                     ; +0x4c, 0x7f912c", "xrefs": ["ENGINE_register_complete @ 0x7f7044", "ENGINE_register_all_EC @ 0x7f9150", "<???> @ 0x622bc"], "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"}