//
// sub_100671B34 from 0x100671b34 to 0x100671be4 (176 bytes)
//
// 3 xrefs:
// > sub_100673854 @ 0x100673890
// > sub_10067EF10 @ 0x100681d1c
// > sub_10068CF9C @ 0x10068d054
//
// 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:11:07 +0000
//
__int64 __fastcall sub_100671B34(__int64 result)
{
__int64 v1; // x19
_QWORD *v2; // x21
__int64 v3; // x0
v1 = result;
v2 = *(_QWORD **)(result + 1952);
if ( v2 )
{
sub_100695E10(result, 2, 2);
do
{
v3 = sub_100671BE4(v1, *v2, *(_QWORD *)(v1 + 1968), *(unsigned __int8 *)(v1 + 977));
if ( v3 )
*(_QWORD *)(v1 + 1968) = v3;
else
sub_10067860C(v1, "ignoring failed cookie_init for %s\n", (const char *)*v2);
v2 = (_QWORD *)v2[1];
}
while ( v2 );
sub_10069AA00(*(_QWORD *)(v1 + 1952));
*(_QWORD *)(v1 + 1952) = 0;
return sub_100695E5C(v1, 2);
}
return result;
}