//
// ScrollableContentLayer::restoreScrollOffset from 0x3f6468 to 0x3f648a (34 bytes)
//
// 3 xrefs:
// > KeybindingsLayer::showTab @ 0x58a75c
// > DeathHistogram::restoreScroll @ 0x7672c2
// > EditorSoundsLayer::showTab @ 0x78aaf0
//
// 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:17 +0000
//
int *__fastcall ScrollableContentLayer::restoreScrollOffset(ScrollableContentLayer *a1, unsigned __int8 *a2)
{
int *v4; // r0
int *result; // r0
v4 = sub_3F46FC();
result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
v4,
a2);
if ( result )
{
ScrollableContentLayer::scrollTo(a1, *((float *)result + 5));
return &dword_0 + 1;
}
return result;
}