; ; TlsCallback_0 from 0x18001f318 to 0x18001f37e (102 bytes) ; ; 4 xrefs: ; > __dyn_tls_on_demand_init @ 0x18001f389 ; > @ 0x1800232a0 ; > @ 0x1800232f0 ; > @ 0x18004b16c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; cmp edx, 2 ; +0x0, 0x18001f318 jnz short locret_18001F37D ; +0x3, 0x18001f31b mov [rsp+arg_0], rbx ; +0x5, 0x18001f31d push rdi ; +0xa, 0x18001f322 sub rsp, 20h ; +0xb, 0x18001f323 mov ecx, cs:TlsIndex ; +0xf, 0x18001f327 mov rax, gs:58h ; +0x15, 0x18001f32d mov r8d, 10h ; +0x1e, 0x18001f336 mov rdx, [rax+rcx*8] ; +0x24, 0x18001f33c cmp byte ptr [rdx+r8], 1 ; +0x28, 0x18001f340 jz short loc_18001F373 ; +0x2d, 0x18001f345 mov byte ptr [rdx+r8], 1 ; +0x2f, 0x18001f347 lea rbx, off_180023278 ; +0x34, 0x18001f34c lea rdi, unk_180023280 ; +0x3b, 0x18001f353 jmp short loc_18001F36E ; +0x42, 0x18001f35a mov rax, [rbx] ; +0x44, 0x18001f35c test rax, rax ; +0x47, 0x18001f35f jz short loc_18001F36A ; +0x4a, 0x18001f362 call cs:__guard_dispatch_icall_fptr ; +0x4c, 0x18001f364 add rbx, 8 ; +0x52, 0x18001f36a cmp rbx, rdi ; +0x56, 0x18001f36e jnz short loc_18001F35C ; +0x59, 0x18001f371 mov rbx, [rsp+28h+arg_0] ; +0x5b, 0x18001f373 add rsp, 20h ; +0x60, 0x18001f378 pop rdi ; +0x64, 0x18001f37c retn ; +0x65, 0x18001f37d