{"type": "func", "start": 8272520, "end": 8272648, "name": "DSO_pathbyaddr", "pseudocode": "// \n// DSO_pathbyaddr from 0x7e3a88 to 0x7e3b08 (128 bytes)\n// \n// 3 xrefs:\n// > DSO_dsobyaddr @ 0x7e3b28\n// > DSO_dsobyaddr @ 0x7e3b54\n// > <???> @ 0x6104c\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 DSO_pathbyaddr(int a1)\n{\n  int v2; // r0\n  int (__fastcall *v3)(int); // r3\n\n  v2 = dword_AD2E6C;\n  if ( !dword_AD2E6C )\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 0x7e3a88 to 0x7e3b08 (128 bytes)\n; \n; 3 xrefs:\n; > DSO_dsobyaddr @ 0x7e3b28\n; > DSO_dsobyaddr @ 0x7e3b54\n; > <???> @ 0x6104c\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, =(dword_AD2E6C - 0x7E3A98)                         ; +0x0, 0x7e3a88\nPUSH            {R4,LR}                                                ; +0x4, 0x7e3a8c\nADD             R3, PC, R3; dword_AD2E6C                               ; +0x8, 0x7e3a90\nMOV             R4, R0                                                 ; +0xc, 0x7e3a94\nLDR             R0, [R3]                                               ; +0x10, 0x7e3a98\nSUB             SP, SP, #0x10                                          ; +0x14, 0x7e3a9c\nCMP             R0, #0                                                 ; +0x18, 0x7e3aa0\nBEQ             loc_7E3AC4                                             ; +0x1c, 0x7e3aa4\nLDR             R3, [R0,#0x24]                                         ; +0x20, 0x7e3aa8\nCMP             R3, #0                                                 ; +0x24, 0x7e3aac\nBEQ             loc_7E3ADC                                             ; +0x28, 0x7e3ab0\nMOV             R0, R4                                                 ; +0x2c, 0x7e3ab4\nADD             SP, SP, #0x10                                          ; +0x30, 0x7e3ab8\nPOP             {R4,LR}                                                ; +0x34, 0x7e3abc\nBX              R3                                                     ; +0x38, 0x7e3ac0\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x3c, 0x7e3ac4\nSTR             R1, [SP,#0x10+var_8]                                   ; +0x40, 0x7e3ac8\nBL              DSO_METHOD_openssl                                     ; +0x44, 0x7e3acc\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x48, 0x7e3ad0\nLDR             R1, [SP,#0x10+var_8]                                   ; +0x4c, 0x7e3ad4\nB               loc_7E3AA8                                             ; +0x50, 0x7e3ad8\nLDR             R3, =0x13B                                             ; +0x54, 0x7e3adc\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x58, 0x7e3ae0\nLDR             R3, =(aCryptoDsoDsoLi - 0x7E3AFC); \"crypto/dso/dso_lib.c\" ; +0x5c, 0x7e3ae4\nMOV             R0, #0x25 ; '%'                                        ; +0x60, 0x7e3ae8\nMOV             R1, #0x69 ; 'i'                                        ; +0x64, 0x7e3aec\nMOV             R2, #0x6C ; 'l'                                        ; +0x68, 0x7e3af0\nADD             R3, PC, R3; \"crypto/dso/dso_lib.c\"                     ; +0x6c, 0x7e3af4\nBL              ERR_put_error                                          ; +0x70, 0x7e3af8\nMOV             R0, #0xFFFFFFFF                                        ; +0x74, 0x7e3afc\nADD             SP, SP, #0x10                                          ; +0x78, 0x7e3b00\nPOP             {R4,PC}                                                ; +0x7c, 0x7e3b04", "xrefs": ["DSO_dsobyaddr @ 0x7e3b28", "DSO_dsobyaddr @ 0x7e3b54", "<???> @ 0x6104c"], "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"}