//
// _ValidateImageBase from 0x180142630 to 0x18014265d (45 bytes)
//
// 1 xrefs:
// > _IsNonwritableInCurrentImage @ 0x1801425f7
//
// 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
//
_BOOL8 __fastcall ValidateImageBase(__int64 a1)
{
__int64 v1; // rax
_BOOL8 result; // rax
result = false;
if ( *(_WORD *)a1 == 23117 )
{
v1 = a1 + *(int *)(a1 + 60);
if ( *(_DWORD *)v1 == 17744 && *(_WORD *)(v1 + 24) == 523 )
return true;
}
return result;
}