//
// sub_3F46FC from 0x3f46fc to 0x3f4742 (70 bytes)
//
// 2 xrefs:
// > ScrollableContentLayer::persistScrollOffset @ 0x3f5a62
// > ScrollableContentLayer::restoreScrollOffset @ 0x3f646e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:16 +0000
//
int *sub_3F46FC()
{
char v0; // r5
v0 = byte_D2B588;
__dmb(0xFu);
if ( (v0 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_D2B588) )
{
dword_D2B58C = 0;
dword_D2B590 = 0;
dword_D2B594 = 0;
dword_D2B598 = 0;
dword_D2B59C = 1065353216;
_cxa_guard_release((__guard *)&byte_D2B588);
_aeabi_atexit();
}
return &dword_D2B58C;
}