//
// sub_1009708E0 from 0x1009708e0 to 0x100970947 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bcf6c0
//
// 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:38:53 +0000
//
__int64 __fastcall sub_1009708E0(__int64 a1, __int64 a2, int a3, int a4)
{
unsigned int v4; // ebx
int v5; // ecx
v5 = a3 ^ 0x21 | a4 ^ 1;
LOBYTE(v4) = v5 == 0;
if ( !v5 )
{
LevelEditorLayer::updateLevelFont(*(_QWORD *)(a1 + 8), *(_DWORD *)(a2 + 552));
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 664) + 1072LL))(a1 - 664, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 664) + 528LL))(a1 - 664, 1);
}
return v4;
}