//
// FontObject::getFontAdvance from 0x686700 to 0x686738 (56 bytes)
//
// 3 xrefs:
// > MultilineBitmapFont::stringWithMaxWidth @ 0x6aaae0
// > MultilineBitmapFont::stringWithMaxWidth @ 0x6aab10
// > ??> @ 0x8d2f8
//
// This function is hookable on this platform (idp: arm, 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:50:30 +0000
//
__int64 __fastcall FontObject::getFontAdvance(FontObject *this, unsigned int a2)
{
__int64 *v2; // x0
unsigned int v4; // [xsp+1Ch] [xbp+1Ch] BYREF
v4 = a2;
v2 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_QWORD *)this + 12,
&v4);
if ( v2 )
return *((unsigned int *)v2 + 5);
else
return 0;
}