{"type": "func", "start": 10454952, "end": 10455072, "name": "DSO_global_lookup", "pseudocode": "// \n// DSO_global_lookup from 0x9f87a8 to 0x9f8820 (120 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7aaec\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:33 +0000\n// \n\nint __fastcall DSO_global_lookup(int a1)\n{\n  int v2; // r0\n  int (__fastcall *v3)(int); // r12\n\n  v2 = dword_D340F8;\n  if ( !dword_D340F8 )\n    v2 = DSO_METHOD_openssl();\n  v3 = *(int (__fastcall **)(int))(v2 + 40);\n  if ( v3 )\n    return v3(a1);\n  ERR_put_error(37, 139, 108, \"crypto/dso/dso_lib.c\", 342);\n  return 0;\n}", "assembly": "; \n; DSO_global_lookup from 0x9f87a8 to 0x9f8820 (120 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7aaec\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:33 +0000\n; \nLDR             R3, =(dword_D340F8 - 0x9F87B8)                         ; +0x0, 0x9f87a8\nPUSH            {R4,LR}                                                ; +0x4, 0x9f87ac\nADD             R3, PC, R3; dword_D340F8                               ; +0x8, 0x9f87b0\nMOV             R4, R0                                                 ; +0xc, 0x9f87b4\nLDR             R0, [R3]                                               ; +0x10, 0x9f87b8\nSUB             SP, SP, #0x10                                          ; +0x14, 0x9f87bc\nCMP             R0, #0                                                 ; +0x18, 0x9f87c0\nBEQ             loc_9F87E4                                             ; +0x1c, 0x9f87c4\nLDR             R12, [R0,#0x28]                                        ; +0x20, 0x9f87c8\nCMP             R12, #0                                                ; +0x24, 0x9f87cc\nBEQ             loc_9F87EC                                             ; +0x28, 0x9f87d0\nMOV             R0, R4                                                 ; +0x2c, 0x9f87d4\nADD             SP, SP, #0x10                                          ; +0x30, 0x9f87d8\nPOP             {R4,LR}                                                ; +0x34, 0x9f87dc\nBX              R12                                                    ; +0x38, 0x9f87e0\nBL              DSO_METHOD_openssl                                     ; +0x3c, 0x9f87e4\nB               loc_9F87C8                                             ; +0x40, 0x9f87e8\nLDR             R3, =0x156                                             ; +0x44, 0x9f87ec\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x48, 0x9f87f0\nLDR             R3, =(aCryptoDsoDsoLi - 0x9F880C); \"crypto/dso/dso_lib.c\" ; +0x4c, 0x9f87f4\nMOV             R0, #0x25 ; '%'                                        ; +0x50, 0x9f87f8\nMOV             R1, #0x8B                                              ; +0x54, 0x9f87fc\nMOV             R2, #0x6C ; 'l'                                        ; +0x58, 0x9f8800\nADD             R3, PC, R3; \"crypto/dso/dso_lib.c\"                     ; +0x5c, 0x9f8804\nSTR             R12, [SP,#0x10+var_4]                                  ; +0x60, 0x9f8808\nBL              ERR_put_error                                          ; +0x64, 0x9f880c\nLDR             R12, [SP,#0x10+var_4]                                  ; +0x68, 0x9f8810\nMOV             R0, R12                                                ; +0x6c, 0x9f8814\nADD             SP, SP, #0x10                                          ; +0x70, 0x9f8818\nPOP             {R4,PC}                                                ; +0x74, 0x9f881c", "xrefs": ["<???> @ 0x7aaec"], "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"}