//
// _IsNonwritableInCurrentImage from 0x1801425e0 to 0x18014262d (77 bytes)
//
// 2 xrefs:
// > __C_specific_handler @ 0x1801249e8
// > ??> @ 0x180203d58
//
// 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
//
__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;
}