{"type": "func", "start": 16733556, "end": 16733708, "name": "BIO_get_new_index", "pseudocode": "// \n// BIO_get_new_index from 0xff5574 to 0xff560c (152 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xfe0c8\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:48 +0000\n// \n\n__int64 BIO_get_new_index()\n{\n  unsigned int v1; // [xsp+2Ch] [xbp+2Ch] BYREF\n\n  if ( (unsigned int)CRYPTO_THREAD_run_once(algn_1566324, sub_FF5544) && dword_1566320 )\n  {\n    if ( (unsigned int)CRYPTO_atomic_add(&unk_1551C20, 1, &v1, bio_type_lock) )\n      return v1;\n    else\n      return 0xFFFFFFFFLL;\n  }\n  else\n  {\n    ERR_put_error(32, 102, 65, \"crypto/bio/bio_meth.c\", 28);\n    return 0xFFFFFFFFLL;\n  }\n}", "assembly": "; \n; BIO_get_new_index from 0xff5574 to 0xff560c (152 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xfe0c8\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:48 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xff5574\nADRP            X1, #sub_FF5544@PAGE                                   ; +0x4, 0xff5578\nMOV             X29, SP                                                ; +0x8, 0xff557c\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0xff5580\nADRP            X19, #dword_1566320@PAGE                               ; +0x10, 0xff5584\nADD             X0, X19, #dword_1566320@PAGEOFF                        ; +0x14, 0xff5588\nADD             X1, X1, #sub_FF5544@PAGEOFF                            ; +0x18, 0xff558c\nADD             X0, X0, #4                                             ; +0x1c, 0xff5590\nBL              CRYPTO_THREAD_run_once                                 ; +0x20, 0xff5594\nCBZ             W0, loc_FF55D8                                         ; +0x24, 0xff5598\nLDR             W0, [X19,#dword_1566320@PAGEOFF]                       ; +0x28, 0xff559c\nCBZ             W0, loc_FF55D8                                         ; +0x2c, 0xff55a0\nADRP            X3, #bio_type_lock_ptr@PAGE                            ; +0x30, 0xff55a4\nADRL            X0, unk_1551C20                                        ; +0x34, 0xff55a8\nMOV             W1, #1                                                 ; +0x3c, 0xff55b0\nADD             X2, X29, #0x30+var_4                                   ; +0x40, 0xff55b4\nLDR             X3, [X3,#bio_type_lock_ptr@PAGEOFF]; bio_type_lock     ; +0x44, 0xff55b8\nLDR             X3, [X3]                                               ; +0x48, 0xff55bc\nBL              CRYPTO_atomic_add                                      ; +0x4c, 0xff55c0\nCBZ             W0, loc_FF5604                                         ; +0x50, 0xff55c4\nLDR             W0, [X29,#0x30+var_4]                                  ; +0x54, 0xff55c8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x58, 0xff55cc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x5c, 0xff55d0\nRET                                                                    ; +0x60, 0xff55d4\nADRP            X3, #aCryptoBioBioMe@PAGE; \"crypto/bio/bio_meth.c\"     ; +0x64, 0xff55d8\nMOV             W0, #0x20 ; ' '                                        ; +0x68, 0xff55dc\nMOV             W1, #0x66 ; 'f'                                        ; +0x6c, 0xff55e0\nMOV             W2, #0x41 ; 'A'                                        ; +0x70, 0xff55e4\nADD             X3, X3, #aCryptoBioBioMe@PAGEOFF; \"crypto/bio/bio_meth.c\" ; +0x74, 0xff55e8\nMOV             W4, #0x1C                                              ; +0x78, 0xff55ec\nBL              ERR_put_error                                          ; +0x7c, 0xff55f0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x80, 0xff55f4\nMOV             W0, #0xFFFFFFFF                                        ; +0x84, 0xff55f8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x88, 0xff55fc\nRET                                                                    ; +0x8c, 0xff5600\nMOV             W0, #0xFFFFFFFF                                        ; +0x90, 0xff5604\nB               loc_FF55CC                                             ; +0x94, 0xff5608", "xrefs": ["<???> @ 0xfe0c8"], "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"}