{"type": "func", "start": 16714876, "end": 16715204, "name": "BIO_hex_string", "pseudocode": "// \n// BIO_hex_string from 0xff0c7c to 0xff0dc4 (328 bytes)\n// \n// 5 xrefs:\n// > SCT_print @ 0x10f9a80\n// > SCT_print @ 0x10f9b94\n// > SCT_print @ 0x10f9c00\n// > SCT_print @ 0x10f9c8c\n// > <???> @ 0x4eb08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:46 +0000\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_11AAA48);\n        if ( v13 == v12 )\n          break;\n        if ( v13 )\n          BIO_printf(a1, \"%*s\", a2, &byte_11B8890);\n      }\n      if ( v13 )\n        BIO_printf(a1, \"%*s\", a2, &byte_11B8890);\n    }\nLABEL_6:\n    BIO_printf(a1, \"%02X\", a4[a5 - 1]);\n  }\n  return 1;\n}", "assembly": "; \n; BIO_hex_string from 0xff0c7c to 0xff0dc4 (328 bytes)\n; \n; 5 xrefs:\n; > SCT_print @ 0x10f9a80\n; > SCT_print @ 0x10f9b94\n; > SCT_print @ 0x10f9c00\n; > SCT_print @ 0x10f9c8c\n; > <???> @ 0x4eb08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:46 +0000\n; \nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0xff0c7c\nCMP             W4, WZR                                                ; +0x4, 0xff0c80\nMOV             X29, SP                                                ; +0x8, 0xff0c84\nSTP             D8, D9, [SP,#0x80+var_20]                              ; +0xc, 0xff0c88\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x10, 0xff0c8c\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x14, 0xff0c90\nSTP             X23, X24, [SP,#0x80+var_50]                            ; +0x18, 0xff0c94\nSTP             X25, X26, [SP,#0x80+var_40]                            ; +0x1c, 0xff0c98\nSTP             X27, X28, [SP,#0x80+var_30]                            ; +0x20, 0xff0c9c\nSTR             D10, [SP,#0x80+var_10]                                 ; +0x24, 0xff0ca0\nB.LE            loc_FF0D44                                             ; +0x28, 0xff0ca4\nCMP             W4, #1                                                 ; +0x2c, 0xff0ca8\nMOV             W23, W2                                                ; +0x30, 0xff0cac\nFMOV            D10, X3                                                ; +0x34, 0xff0cb0\nMOV             W28, W1                                                ; +0x38, 0xff0cb4\nMOV             X22, X0                                                ; +0x3c, 0xff0cb8\nMOV             W27, W4                                                ; +0x40, 0xff0cbc\nB.EQ            loc_FF0D28                                             ; +0x44, 0xff0cc0\nADRP            X0, #(aUnknownS+8)@PAGE; \"%*s\"                         ; +0x48, 0xff0cc4\nMOV             W19, #0                                                ; +0x4c, 0xff0cc8\nADD             X0, X0, #(aUnknownS+8)@PAGEOFF; \"%*s\"                  ; +0x50, 0xff0ccc\nADRP            X25, #byte_11AAA48@PAGE                                ; +0x54, 0xff0cd0\nMOV             X21, X3                                                ; +0x58, 0xff0cd4\nSUB             W24, W4, #1                                            ; +0x5c, 0xff0cd8\nFMOV            D8, X0                                                 ; +0x60, 0xff0cdc\nADRL            X0, byte_11B8890                                       ; +0x64, 0xff0ce0\nMOV             W20, W19                                               ; +0x6c, 0xff0ce8\nADRP            X26, #a02x_4@PAGE; \"%02X:\"                             ; +0x70, 0xff0cec\nADD             X25, X25, #byte_11AAA48@PAGEOFF                        ; +0x74, 0xff0cf0\nFMOV            D9, X0                                                 ; +0x78, 0xff0cf4\nLDRB            W2, [X21]                                              ; +0x7c, 0xff0cf8\nADD             X1, X26, #a02x_4@PAGEOFF; \"%02X:\"                      ; +0x80, 0xff0cfc\nMOV             X0, X22                                                ; +0x84, 0xff0d00\nADD             W19, W19, #1                                           ; +0x88, 0xff0d04\nADD             X21, X21, #1                                           ; +0x8c, 0xff0d08\nBL              BIO_printf                                             ; +0x90, 0xff0d0c\nSDIV            W0, W19, W23                                           ; +0x94, 0xff0d10\nMSUB            W19, W0, W23, W19                                      ; +0x98, 0xff0d14\nCBZ             W19, loc_FF0D6C                                        ; +0x9c, 0xff0d18\nADD             W20, W20, #1                                           ; +0xa0, 0xff0d1c\nCMP             W20, W24                                               ; +0xa4, 0xff0d20\nB.NE            loc_FF0CF8                                             ; +0xa8, 0xff0d24\nFMOV            X0, D10                                                ; +0xac, 0xff0d28\nADRL            X1, a02x_0; \"%02X\"                                     ; +0xb0, 0xff0d2c\nADD             X27, X0, W27,SXTW                                      ; +0xb8, 0xff0d34\nLDURB           W2, [X27,#-1]                                          ; +0xbc, 0xff0d38\nMOV             X0, X22                                                ; +0xc0, 0xff0d3c\nBL              BIO_printf                                             ; +0xc4, 0xff0d40\nMOV             W0, #1                                                 ; +0xc8, 0xff0d44\nLDP             D8, D9, [SP,#0x80+var_20]                              ; +0xcc, 0xff0d48\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0xd0, 0xff0d4c\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0xd4, 0xff0d50\nLDP             X23, X24, [SP,#0x80+var_50]                            ; +0xd8, 0xff0d54\nLDP             X25, X26, [SP,#0x80+var_40]                            ; +0xdc, 0xff0d58\nLDP             X27, X28, [SP,#0x80+var_30]                            ; +0xe0, 0xff0d5c\nLDR             D10, [SP,#0x80+var_10]                                 ; +0xe4, 0xff0d60\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0xe8, 0xff0d64\nRET                                                                    ; +0xec, 0xff0d68\nMOV             X1, X25                                                ; +0xf0, 0xff0d6c\nMOV             X0, X22                                                ; +0xf4, 0xff0d70\nADD             W20, W20, #1                                           ; +0xf8, 0xff0d74\nBL              BIO_printf                                             ; +0xfc, 0xff0d78\nCMP             W20, W24                                               ; +0x100, 0xff0d7c\nB.EQ            loc_FF0DA0                                             ; +0x104, 0xff0d80\nCBZ             W20, loc_FF0CF8                                        ; +0x108, 0xff0d84\nFMOV            X1, D8                                                 ; +0x10c, 0xff0d88\nMOV             X0, X22                                                ; +0x110, 0xff0d8c\nFMOV            X3, D9                                                 ; +0x114, 0xff0d90\nMOV             W2, W28                                                ; +0x118, 0xff0d94\nBL              BIO_printf                                             ; +0x11c, 0xff0d98\nB               loc_FF0CF8                                             ; +0x120, 0xff0d9c\nCBZ             W20, loc_FF0D28                                        ; +0x124, 0xff0da0\nADRP            X1, #(aUnknownS+8)@PAGE; \"%*s\"                         ; +0x128, 0xff0da4\nADRP            X3, #byte_11B8890@PAGE                                 ; +0x12c, 0xff0da8\nMOV             X0, X22                                                ; +0x130, 0xff0dac\nADD             X1, X1, #(aUnknownS+8)@PAGEOFF; \"%*s\"                  ; +0x134, 0xff0db0\nMOV             W2, W28                                                ; +0x138, 0xff0db4\nADD             X3, X3, #byte_11B8890@PAGEOFF                          ; +0x13c, 0xff0db8\nBL              BIO_printf                                             ; +0x140, 0xff0dbc\nB               loc_FF0D28                                             ; +0x144, 0xff0dc0", "xrefs": ["SCT_print @ 0x10f9a80", "SCT_print @ 0x10f9b94", "SCT_print @ 0x10f9c00", "SCT_print @ 0x10f9c8c", "<???> @ 0x4eb08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}