//
// sub_100650A44 from 0x100650a44 to 0x100650a90 (76 bytes)
//
// 1 xrefs:
// > sub_1006616B8 @ 0x100661860
//
// 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:10:49 +0000
//
__int64 __fastcall sub_100650A44(__int64 a1)
{
__int64 v1; // x19
int v2; // w0
v1 = *(_QWORD *)(a1 + 128);
v2 = sub_10073C4CC(
*(_QWORD *)(a1 + 248),
*(_QWORD *)(v1 + 360),
17408,
*(_QWORD *)(v1 + 368),
*(unsigned int *)(v1 + 348));
if ( v2 < 0 )
return 0;
*(_DWORD *)(v1 + 348) = v2;
*(_QWORD *)(v1 + 368) = *(_QWORD *)(v1 + 360);
return 1;
}