{"type": "func", "start": 14097320, "end": 14097376, "name": "BIO_ADDR_sockaddr_size", "pseudocode": "// \n// BIO_ADDR_sockaddr_size from 0xd71ba8 to 0xd71be0 (56 bytes)\n// \n// 4 xrefs:\n// > sub_D71BE0 @ 0xd71c70\n// > BIO_connect @ 0xd75354\n// > BIO_listen @ 0xd75660\n// > <???> @ 0xc0d38\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_ADDR_sockaddr_size(unsigned __int16 *a1)\n{\n  int v1; // w0\n\n  v1 = *a1;\n  switch ( v1 )\n  {\n    case 2:\n      return 16;\n    case 10:\n      return 28;\n    case 1:\n      return 110;\n  }\n  return 112;\n}", "assembly": "; \n; BIO_ADDR_sockaddr_size from 0xd71ba8 to 0xd71be0 (56 bytes)\n; \n; 4 xrefs:\n; > sub_D71BE0 @ 0xd71c70\n; > BIO_connect @ 0xd75354\n; > BIO_listen @ 0xd75660\n; > <???> @ 0xc0d38\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\nLDRH            W0, [X0]                                               ; +0x0, 0xd71ba8\nCMP             W0, #2                                                 ; +0x4, 0xd71bac\nB.EQ            loc_D71BD0                                             ; +0x8, 0xd71bb0\nCMP             W0, #0xA                                               ; +0xc, 0xd71bb4\nB.EQ            loc_D71BD8                                             ; +0x10, 0xd71bb8\nCMP             W0, #1                                                 ; +0x14, 0xd71bbc\nMOV             W1, #0x70 ; 'p'                                        ; +0x18, 0xd71bc0\nMOV             W0, #0x6E ; 'n'                                        ; +0x1c, 0xd71bc4\nCSEL            W0, W0, W1, EQ                                         ; +0x20, 0xd71bc8\nRET                                                                    ; +0x24, 0xd71bcc\nMOV             W0, #0x10                                              ; +0x28, 0xd71bd0\nRET                                                                    ; +0x2c, 0xd71bd4\nMOV             W0, #0x1C                                              ; +0x30, 0xd71bd8\nRET                                                                    ; +0x34, 0xd71bdc", "xrefs": ["sub_D71BE0 @ 0xd71c70", "BIO_connect @ 0xd75354", "BIO_listen @ 0xd75660", "<???> @ 0xc0d38"], "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"}