// // sub_978EDA from 0x978eda to 0x978f32 (88 bytes) // // 0 xrefs: // // 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:06:00 +0000 // unsigned int __fastcall sub_978EDA(unsigned __int8 *a1, char *a2, unsigned int a3) { unsigned int v4; // r1 unsigned __int64 v6; // kr00_8 size_t v7; // r6 unsigned int v8; // r10 v4 = *a1; if ( (v4 & 1) != 0 ) v6 = *(_QWORD *)(a1 + 4); else v6 = __PAIR64__((unsigned int)(a1 + 1), v4 >> 1); v7 = strlen(a2); if ( (unsigned int)v6 <= a3 ) return -1; v8 = HIDWORD(v6) + a3; while ( v7 ) { if ( !memchr(a2, *(unsigned __int8 *)(HIDWORD(v6) + a3), v7) ) { v8 = HIDWORD(v6) + a3; return v8 - HIDWORD(v6); } if ( (_DWORD)v6 == ++a3 ) return -1; } return v8 - HIDWORD(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source