{"type": "func", "start": 14100764, "end": 14101092, "name": "BIO_hex_string", "pseudocode": "// \n// BIO_hex_string from 0xd7291c to 0xd72a64 (328 bytes)\n// \n// 5 xrefs:\n// > SCT_print @ 0xe7ba80\n// > SCT_print @ 0xe7bb94\n// > SCT_print @ 0xe7bc00\n// > SCT_print @ 0xe7bc8c\n// > <???> @ 0x35a18\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\n__int64 __fastcall BIO_hex_string(__int64 a1, int a2, int a3, unsigned __int8 *a4, int a5)\n{\n  int v10; // w19\n  unsigned __int8 *v11; // x21\n  int v12; // w24\n  int v13; // w20\n  int v14; // w2\n\n  if ( a5 > 0 )\n  {\n    if ( a5 != 1 )\n    {\n      v10 = 0;\n      v11 = a4;\n      v12 = a5 - 1;\n      v13 = 0;\n      while ( 1 )\n      {\n        while ( 1 )\n        {\n          v14 = *v11++;\n          BIO_printf(a1, \"%02X:\", v14);\n          v10 = (v10 + 1) % a3;\n          if ( !v10 )\n            break;\n          if ( ++v13 == v12 )\n            goto LABEL_6;\n        }\n        ++v13;\n        BIO_printf(a1, &byte_F1AB78);\n        if ( v13 == v12 )\n          break;\n        if ( v13 )\n          BIO_printf(a1, \"%*s\", a2, &byte_F288A0);\n      }\n      if ( v13 )\n        BIO_printf(a1, \"%*s\", a2, &byte_F288A0);\n    }\nLABEL_6:\n    BIO_printf(a1, \"%02X\", a4[a5 - 1]);\n  }\n  return 1;\n}", "assembly": "; \n; BIO_hex_string from 0xd7291c to 0xd72a64 (328 bytes)\n; \n; 5 xrefs:\n; > SCT_print @ 0xe7ba80\n; > SCT_print @ 0xe7bb94\n; > SCT_print @ 0xe7bc00\n; > SCT_print @ 0xe7bc8c\n; > <???> @ 0x35a18\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\nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0xd7291c\nCMP             W4, WZR                                                ; +0x4, 0xd72920\nMOV             X29, SP                                                ; +0x8, 0xd72924\nSTP             D8, D9, [SP,#0x80+var_20]                              ; +0xc, 0xd72928\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x10, 0xd7292c\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x14, 0xd72930\nSTP             X23, X24, [SP,#0x80+var_50]                            ; +0x18, 0xd72934\nSTP             X25, X26, [SP,#0x80+var_40]                            ; +0x1c, 0xd72938\nSTP             X27, X28, [SP,#0x80+var_30]                            ; +0x20, 0xd7293c\nSTR             D10, [SP,#0x80+var_10]                                 ; +0x24, 0xd72940\nB.LE            loc_D729E4                                             ; +0x28, 0xd72944\nCMP             W4, #1                                                 ; +0x2c, 0xd72948\nMOV             W23, W2                                                ; +0x30, 0xd7294c\nFMOV            D10, X3                                                ; +0x34, 0xd72950\nMOV             W28, W1                                                ; +0x38, 0xd72954\nMOV             X22, X0                                                ; +0x3c, 0xd72958\nMOV             W27, W4                                                ; +0x40, 0xd7295c\nB.EQ            loc_D729C8                                             ; +0x44, 0xd72960\nADRP            X0, #(aUnknownS+8)@PAGE; \"%*s\"                         ; +0x48, 0xd72964\nMOV             W19, #0                                                ; +0x4c, 0xd72968\nADD             X0, X0, #(aUnknownS+8)@PAGEOFF; \"%*s\"                  ; +0x50, 0xd7296c\nADRP            X25, #byte_F1AB78@PAGE                                 ; +0x54, 0xd72970\nMOV             X21, X3                                                ; +0x58, 0xd72974\nSUB             W24, W4, #1                                            ; +0x5c, 0xd72978\nFMOV            D8, X0                                                 ; +0x60, 0xd7297c\nADRL            X0, byte_F288A0                                        ; +0x64, 0xd72980\nMOV             W20, W19                                               ; +0x6c, 0xd72988\nADRP            X26, #a02x_4@PAGE; \"%02X:\"                             ; +0x70, 0xd7298c\nADD             X25, X25, #byte_F1AB78@PAGEOFF                         ; +0x74, 0xd72990\nFMOV            D9, X0                                                 ; +0x78, 0xd72994\nLDRB            W2, [X21]                                              ; +0x7c, 0xd72998\nADD             X1, X26, #a02x_4@PAGEOFF; \"%02X:\"                      ; +0x80, 0xd7299c\nMOV             X0, X22                                                ; +0x84, 0xd729a0\nADD             W19, W19, #1                                           ; +0x88, 0xd729a4\nADD             X21, X21, #1                                           ; +0x8c, 0xd729a8\nBL              BIO_printf                                             ; +0x90, 0xd729ac\nSDIV            W0, W19, W23                                           ; +0x94, 0xd729b0\nMSUB            W19, W0, W23, W19                                      ; +0x98, 0xd729b4\nCBZ             W19, loc_D72A0C                                        ; +0x9c, 0xd729b8\nADD             W20, W20, #1                                           ; +0xa0, 0xd729bc\nCMP             W20, W24                                               ; +0xa4, 0xd729c0\nB.NE            loc_D72998                                             ; +0xa8, 0xd729c4\nFMOV            X0, D10                                                ; +0xac, 0xd729c8\nADRL            X1, a02x_0; \"%02X\"                                     ; +0xb0, 0xd729cc\nADD             X27, X0, W27,SXTW                                      ; +0xb8, 0xd729d4\nLDURB           W2, [X27,#-1]                                          ; +0xbc, 0xd729d8\nMOV             X0, X22                                                ; +0xc0, 0xd729dc\nBL              BIO_printf                                             ; +0xc4, 0xd729e0\nMOV             W0, #1                                                 ; +0xc8, 0xd729e4\nLDP             D8, D9, [SP,#0x80+var_20]                              ; +0xcc, 0xd729e8\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0xd0, 0xd729ec\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0xd4, 0xd729f0\nLDP             X23, X24, [SP,#0x80+var_50]                            ; +0xd8, 0xd729f4\nLDP             X25, X26, [SP,#0x80+var_40]                            ; +0xdc, 0xd729f8\nLDP             X27, X28, [SP,#0x80+var_30]                            ; +0xe0, 0xd729fc\nLDR             D10, [SP,#0x80+var_10]                                 ; +0xe4, 0xd72a00\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0xe8, 0xd72a04\nRET                                                                    ; +0xec, 0xd72a08\nMOV             X1, X25                                                ; +0xf0, 0xd72a0c\nMOV             X0, X22                                                ; +0xf4, 0xd72a10\nADD             W20, W20, #1                                           ; +0xf8, 0xd72a14\nBL              BIO_printf                                             ; +0xfc, 0xd72a18\nCMP             W20, W24                                               ; +0x100, 0xd72a1c\nB.EQ            loc_D72A40                                             ; +0x104, 0xd72a20\nCBZ             W20, loc_D72998                                        ; +0x108, 0xd72a24\nFMOV            X1, D8                                                 ; +0x10c, 0xd72a28\nMOV             X0, X22                                                ; +0x110, 0xd72a2c\nFMOV            X3, D9                                                 ; +0x114, 0xd72a30\nMOV             W2, W28                                                ; +0x118, 0xd72a34\nBL              BIO_printf                                             ; +0x11c, 0xd72a38\nB               loc_D72998                                             ; +0x120, 0xd72a3c\nCBZ             W20, loc_D729C8                                        ; +0x124, 0xd72a40\nADRP            X1, #(aUnknownS+8)@PAGE; \"%*s\"                         ; +0x128, 0xd72a44\nADRP            X3, #byte_F288A0@PAGE                                  ; +0x12c, 0xd72a48\nMOV             X0, X22                                                ; +0x130, 0xd72a4c\nADD             X1, X1, #(aUnknownS+8)@PAGEOFF; \"%*s\"                  ; +0x134, 0xd72a50\nMOV             W2, W28                                                ; +0x138, 0xd72a54\nADD             X3, X3, #byte_F288A0@PAGEOFF                           ; +0x13c, 0xd72a58\nBL              BIO_printf                                             ; +0x140, 0xd72a5c\nB               loc_D729C8                                             ; +0x144, 0xd72a60", "xrefs": ["SCT_print @ 0xe7ba80", "SCT_print @ 0xe7bb94", "SCT_print @ 0xe7bc00", "SCT_print @ 0xe7bc8c", "<???> @ 0x35a18"], "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"}