//
// _IsNonwritableInCurrentImage from 0x1801425e0 to 0x18014262d (77 bytes)
//
// 2 xrefs:
// > __C_specific_handler @ 0x1801249e8
// > ??> @ 0x180203d58
//
// 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 10:55:05 +0000
//
__int64 __fastcall IsNonwritableInCurrentImage(__int64 a1)
{
__int64 result; // rax
result = ValidateImageBase(0x180000000uLL);
if ( (_DWORD)result )
{
result = FindPESection(0x180000000LL, a1 - 0x180000000LL);
if ( result )
return *(int *)(result + 36) >= 0;
}
return result;
}