//
// sub_100894470 from 0x100894470 to 0x100894512 (162 bytes)
//
// 5 xrefs:
// > sub_100896C50 @ 0x100896e43
// > sub_1008A2CB0 @ 0x1008a2d3c
// > sub_100996840 @ 0x1009968a1
// > sub_1009A2890 @ 0x1009a2901
// > InfoLayer::init @ 0x100892a95
//
// 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:37:06 +0000
//
__int64 __fastcall sub_100894470(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rax
const char *v4; // rsi
__int64 v5; // rdi
*(_BYTE *)(a1 + 880) ^= 1u;
sub_100893570(a1);
v2 = *(_QWORD *)(a1 + 816);
if ( v2 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1072LL))(v2);
v4 = "GJ_button_01.png";
if ( *(_BYTE *)(a1 + 880) )
v4 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v3, (__int64)v4);
}
v5 = *(_QWORD *)(a1 + 824);
if ( v5 )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, *(unsigned __int8 *)(a1 + 880));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 824) + 1056LL))(
*(_QWORD *)(a1 + 824),
*(unsigned __int8 *)(a1 + 880));
}
sub_100896EB0(a1);
*(_DWORD *)(a1 + 856) = 0;
return InfoLayer::loadPage(a1, 0, 0);
}