//
// sub_100724824 from 0x100724824 to 0x1007248ac (136 bytes)
//
// 1 xrefs:
// > sub_100724ACC @ 0x100724b78
//
// 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:13:06 +0000
//
__int64 __fastcall sub_100724824(const char *a1, const char *a2)
{
int v4; // w21
int v5; // w0
__int64 v6; // x21
v4 = strlen(a1);
v5 = strlen(a2);
if ( v5 + 1 >= v4 )
return 0;
v6 = v4 - (__int64)v5;
if ( strcmp(&a1[v6], a2) )
return 0;
if ( a1[v6 - 1] == 32 )
return (unsigned int)(v6 - 1);
return 0;
}