//
// sub_100230C98 from 0x100230c98 to 0x100230d34 (156 bytes)
//
// 3 xrefs:
// > ProfilePage::loadCommentsFinished @ 0x100230d4c
// > ProfilePage::loadCommentsFailed @ 0x100230dc8
// > ProfilePage::setupPageInfo @ 0x100230e50
//
// 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:17 +0000
//
bool __fastcall sub_100230C98(__int64 a1, char *a2)
{
const void *v3; // x22
__int64 v4; // x24
void *v5; // x19
int v6; // w10
size_t v7; // x21
const void *v8; // x0
size_t v9; // x22
_QWORD *v10; // x1
size_t v11; // x2
int v12; // w20
_QWORD v15[2]; // [xsp+8h] [xbp-48h] BYREF
char v16; // [xsp+1Fh] [xbp-31h]
v3 = (const void *)(a1 + 744);
sub_100009900(v15, a2);
v4 = v16;
v5 = (void *)v15[0];
v6 = *(char *)(a1 + 767);
if ( v6 >= 0 )
v7 = *(unsigned __int8 *)(a1 + 767);
else
v7 = *(_QWORD *)(a1 + 752);
if ( v6 >= 0 )
v8 = v3;
else
v8 = *(const void **)(a1 + 744);
if ( v16 >= 0 )
v9 = v16;
else
v9 = v15[1];
if ( v16 >= 0 )
v10 = v15;
else
v10 = (_QWORD *)v15[0];
if ( v9 >= v7 )
v11 = v7;
else
v11 = v9;
v12 = memcmp(v8, v10, v11);
if ( v4 < 0 )
operator delete(v5);
return v9 == v7 && v12 == 0;
}