// // TlsCallback_0 from 0x18001f180 to 0x18001f1e6 (102 bytes) // // 4 xrefs: // > sub_18001F1E8 @ 0x18001f1f1 // > @ 0x180023288 // > @ 0x180025810 // > @ 0x18004d0c4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:15:45 +0000 // void __fastcall TlsCallback_0(__int64 a1, int a2) { __int64 v2; // rdx __int64 (__fastcall **i)(); // rbx if ( a2 == 2 ) { v2 = *((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + (unsigned int)TlsIndex); if ( *(_BYTE *)(v2 + 16) != 1 ) { *(_BYTE *)(v2 + 16) = 1; for ( i = &off_180023260; i != (__int64 (__fastcall **)())&unk_180023268; ++i ) { if ( *i ) (*i)(); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source