//
// sub_10026DD44 from 0x10026dd44 to 0x10026deb4 (368 bytes)
//
// 1 xrefs:
// > ProfilePage::onFriend @ 0x10022db74
//
// 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 11:01:45 +0000
//
__int64 __fastcall sub_10026DD44(__int64 a1, char *a2)
{
__int64 v4; // x0
__int64 v5; // x0
char *v6; // x1
float v7; // s8
void *v8; // x20
__int64 v9; // x0
double v11; // [xsp+0h] [xbp-40h] BYREF
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v13; // [xsp+1Fh] [xbp-21h]
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 704) + 344LL))(*(_QWORD *)(a1 + 704), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 704) + 1000LL))(*(_QWORD *)(a1 + 704), 0);
v4 = *(_QWORD *)(a1 + 712);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0);
v5 = *(_QWORD *)(a1 + 776);
if ( v5 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, 0);
if ( a2[23] >= 0 )
v6 = a2;
else
v6 = *(char **)a2;
sub_100009900(__p, v6);
v7 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 704) + 328LL))(*(_QWORD *)(a1 + 704));
sub_1000262BC((float *)&v11, 0.5, 0.5);
v8 = TextArea::create(
(__int64)__p,
(__int64)"chatFont.fnt",
&v11,
0,
0,
1.0,
(float)((float)(v7 + -40.0) * 1.1) / 0.8,
20.0);
if ( v13 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v8 + 160LL))(v8, 0.8);
v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 704) + 192LL))(*(_QWORD *)(a1 + 704));
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v8 + 184LL))(v8, v9);
return (*(__int64 (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v8,
2);
}