// // sub_810598 from 0x810598 to 0x810600 (104 bytes) // // 1 xrefs: // > sub_81406C @ 0x81480a // // 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:37 +0000 // unsigned __int8 *__fastcall sub_810598(unsigned __int8 *a1, unsigned __int8 *a2, int a3, int a4) { unsigned __int8 *result; // r0 _DWORD v7[3]; // [sp+4h] [bp-Ch] BYREF v7[2] = a4; v7[0] = 0; v7[1] = 0; while ( 1 ) { result = (unsigned __int8 *)*a1; if ( (a7[(_DWORD)result] & 2) == 0 ) goto LABEL_3; if ( result == a2 ) break; if ( result == (_BYTE *)&dword_24 + 2 ) { a1 = sub_810344(a1, v7); } else { if ( !*a1 ) return result; LABEL_3: ++a1; } } *(_BYTE *)sub_80FCC2((int)v7, (int)a1) = 0; return a1 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source