{"type": "func", "start": 10454664, "end": 10454792, "name": "DSO_pathbyaddr", "pseudocode": "// \n// DSO_pathbyaddr from 0x9f8688 to 0x9f8708 (128 bytes)\n// \n// 3 xrefs:\n// > DSO_dsobyaddr @ 0x9f8728\n// > DSO_dsobyaddr @ 0x9f8754\n// > <???> @ 0x7aacc\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_pathbyaddr(int a1)\n{\n  int v2; // r0\n  int (__fastcall *v3)(int); // r3\n\n  v2 = dword_D340F8;\n  if ( !dword_D340F8 )\n    v2 = DSO_METHOD_openssl();\n  v3 = *(int (__fastcall **)(int))(v2 + 36);\n  if ( v3 )\n    return v3(a1);\n  ERR_put_error(37, 105, 108, \"crypto/dso/dso_lib.c\", 315);\n  return -1;\n}", "assembly": "; \n; DSO_pathbyaddr from 0x9f8688 to 0x9f8708 (128 bytes)\n; \n; 3 xrefs:\n; > DSO_dsobyaddr @ 0x9f8728\n; > DSO_dsobyaddr @ 0x9f8754\n; > <???> @ 0x7aacc\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 - 0x9F8698)                         ; +0x0, 0x9f8688\nPUSH            {R4,LR}                                                ; +0x4, 0x9f868c\nADD             R3, PC, R3; dword_D340F8                               ; +0x8, 0x9f8690\nMOV             R4, R0                                                 ; +0xc, 0x9f8694\nLDR             R0, [R3]                                               ; +0x10, 0x9f8698\nSUB             SP, SP, #0x10                                          ; +0x14, 0x9f869c\nCMP             R0, #0                                                 ; +0x18, 0x9f86a0\nBEQ             loc_9F86C4                                             ; +0x1c, 0x9f86a4\nLDR             R3, [R0,#0x24]                                         ; +0x20, 0x9f86a8\nCMP             R3, #0                                                 ; +0x24, 0x9f86ac\nBEQ             loc_9F86DC                                             ; +0x28, 0x9f86b0\nMOV             R0, R4                                                 ; +0x2c, 0x9f86b4\nADD             SP, SP, #0x10                                          ; +0x30, 0x9f86b8\nPOP             {R4,LR}                                                ; +0x34, 0x9f86bc\nBX              R3                                                     ; +0x38, 0x9f86c0\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x3c, 0x9f86c4\nSTR             R1, [SP,#0x10+var_8]                                   ; +0x40, 0x9f86c8\nBL              DSO_METHOD_openssl                                     ; +0x44, 0x9f86cc\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x48, 0x9f86d0\nLDR             R1, [SP,#0x10+var_8]                                   ; +0x4c, 0x9f86d4\nB               loc_9F86A8                                             ; +0x50, 0x9f86d8\nLDR             R3, =0x13B                                             ; +0x54, 0x9f86dc\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x58, 0x9f86e0\nLDR             R3, =(aCryptoDsoDsoLi - 0x9F86FC); \"crypto/dso/dso_lib.c\" ; +0x5c, 0x9f86e4\nMOV             R0, #0x25 ; '%'                                        ; +0x60, 0x9f86e8\nMOV             R1, #0x69 ; 'i'                                        ; +0x64, 0x9f86ec\nMOV             R2, #0x6C ; 'l'                                        ; +0x68, 0x9f86f0\nADD             R3, PC, R3; \"crypto/dso/dso_lib.c\"                     ; +0x6c, 0x9f86f4\nBL              ERR_put_error                                          ; +0x70, 0x9f86f8\nMOV             R0, #0xFFFFFFFF                                        ; +0x74, 0x9f86fc\nADD             SP, SP, #0x10                                          ; +0x78, 0x9f8700\nPOP             {R4,PC}                                                ; +0x7c, 0x9f8704", "xrefs": ["DSO_dsobyaddr @ 0x9f8728", "DSO_dsobyaddr @ 0x9f8754", "<???> @ 0x7aacc"], "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"}