{"type": "func", "start": 10356552, "end": 10356604, "name": "BIO_ADDR_sockaddr_size", "pseudocode": "// \n// BIO_ADDR_sockaddr_size from 0x9e0748 to 0x9e077c (52 bytes)\n// \n// 4 xrefs:\n// > sub_9E077C @ 0x9e0804\n// > BIO_connect @ 0x9e411c\n// > BIO_listen @ 0x9e443c\n// > <???> @ 0x78e3c\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:20 +0000\n// \n\nint __fastcall BIO_ADDR_sockaddr_size(unsigned __int16 *a1)\n{\n  int v1; // r0\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 0x9e0748 to 0x9e077c (52 bytes)\n; \n; 4 xrefs:\n; > sub_9E077C @ 0x9e0804\n; > BIO_connect @ 0x9e411c\n; > BIO_listen @ 0x9e443c\n; > <???> @ 0x78e3c\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:20 +0000\n; \nLDRH            R0, [R0]                                               ; +0x0, 0x9e0748\nCMP             R0, #2                                                 ; +0x4, 0x9e074c\nBEQ             loc_9E076C                                             ; +0x8, 0x9e0750\nCMP             R0, #0xA                                               ; +0xc, 0x9e0754\nBEQ             loc_9E0774                                             ; +0x10, 0x9e0758\nCMP             R0, #1                                                 ; +0x14, 0x9e075c\nMOVEQ           R0, #0x6E ; 'n'                                        ; +0x18, 0x9e0760\nMOVNE           R0, #0x70 ; 'p'                                        ; +0x1c, 0x9e0764\nBX              LR                                                     ; +0x20, 0x9e0768\nMOV             R0, #0x10                                              ; +0x24, 0x9e076c\nBX              LR                                                     ; +0x28, 0x9e0770\nMOV             R0, #0x1C                                              ; +0x2c, 0x9e0774\nBX              LR                                                     ; +0x30, 0x9e0778", "xrefs": ["sub_9E077C @ 0x9e0804", "BIO_connect @ 0x9e411c", "BIO_listen @ 0x9e443c", "<???> @ 0x78e3c"], "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"}