//
// _ValidateImageBase from 0x180142630 to 0x18014265d (45 bytes)
//
// 1 xrefs:
// > _IsNonwritableInCurrentImage @ 0x1801425f7
//
// 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
//
_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;
}