//
// sub_80F798 from 0x80f798 to 0x80f7b2 (26 bytes)
//
// 5 xrefs:
// > sub_8123E4 @ 0x81241a
// > sub_81572C @ 0x8157ce
// > sub_815CB4 @ 0x815ce2
// > sub_815CB4 @ 0x815d1a
// > sub_8179AC @ 0x817ea0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:36 +0000
//
bool __fastcall sub_80F798(int a1, int a2)
{
int v2; // r1
int v3; // r0
int v4; // r3
int v5; // t1
int v6; // t1
v2 = a2 - 1;
v3 = a1 - 1;
do
{
v5 = *(unsigned __int8 *)++v2;
v4 = v5;
if ( !v5 )
break;
v6 = *(unsigned __int8 *)++v3;
}
while ( v6 == v4 );
return v4 == 0;
}