{"type": "func", "start": 17166716, "end": 17166748, "name": "CRYPTO_THREAD_set_local", "pseudocode": "// \n// CRYPTO_THREAD_set_local from 0x105f17c to 0x105f19c (32 bytes)\n// \n// 10 xrefs:\n// > sub_FEEFF8 @ 0xfef090\n// > sub_FEEFF8 @ 0xfef0a8\n// > ASYNC_init_thread @ 0xfef2f4\n// > ASYNC_start_job @ 0xfef6b8\n// > ERR_get_state @ 0x101e370\n// > err_delete_thread_state @ 0x101edd8\n// > OPENSSL_cleanup @ 0x1030074\n// > OPENSSL_thread_stop @ 0x103019c\n// > ossl_init_thread_start @ 0x1030284\n// > <???> @ 0xdba30\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:16:50 +0000\n// \n\nbool __fastcall CRYPTO_THREAD_set_local(pthread_key_t *a1, const void *a2)\n{\n  return pthread_setspecific(*a1, a2) == 0;\n}", "assembly": "; \n; CRYPTO_THREAD_set_local from 0x105f17c to 0x105f19c (32 bytes)\n; \n; 10 xrefs:\n; > sub_FEEFF8 @ 0xfef090\n; > sub_FEEFF8 @ 0xfef0a8\n; > ASYNC_init_thread @ 0xfef2f4\n; > ASYNC_start_job @ 0xfef6b8\n; > ERR_get_state @ 0x101e370\n; > err_delete_thread_state @ 0x101edd8\n; > OPENSSL_cleanup @ 0x1030074\n; > OPENSSL_thread_stop @ 0x103019c\n; > ossl_init_thread_start @ 0x1030284\n; > <???> @ 0xdba30\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:16:50 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x105f17c\nMOV             X29, SP                                                ; +0x4, 0x105f180\nLDR             W0, [X0]; key                                          ; +0x8, 0x105f184\nBL              .pthread_setspecific                                   ; +0xc, 0x105f188\nCMP             W0, WZR                                                ; +0x10, 0x105f18c\nCSET            W0, EQ                                                 ; +0x14, 0x105f190\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x105f194\nRET                                                                    ; +0x1c, 0x105f198", "xrefs": ["sub_FEEFF8 @ 0xfef090", "sub_FEEFF8 @ 0xfef0a8", "ASYNC_init_thread @ 0xfef2f4", "ASYNC_start_job @ 0xfef6b8", "ERR_get_state @ 0x101e370", "err_delete_thread_state @ 0x101edd8", "OPENSSL_cleanup @ 0x1030074", "OPENSSL_thread_stop @ 0x103019c", "ossl_init_thread_start @ 0x1030284", "<???> @ 0xdba30"], "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"}