//
// sub_1000ACFA8 from 0x1000acfa8 to 0x1000acfe0 (56 bytes)
//
// 2 xrefs:
// > CommentCell::loadFromComment @ 0x10012bb04
// > CommentCell::loadFromComment @ 0x10012bcac
//
// 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 10:58:37 +0000
//
__int64 __fastcall sub_1000ACFA8(__int64 a1, int a2)
{
__int64 v2; // x8
__int64 v3; // x8
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 848);
if ( !v2 )
return 0;
v3 = *(_QWORD *)(v2 + 56);
if ( !v3 )
return 0;
while ( 1 )
{
result = *(_QWORD *)(v3 + 264);
if ( *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) == a2 )
break;
v3 = *(_QWORD *)(v3 + 288);
if ( !v3 )
return 0;
}
return result;
}