// // sub_810AF0 from 0x810af0 to 0x810b54 (100 bytes) // // 2 xrefs: // > sub_819400 @ 0x81945c // > sub_819E88 @ 0x81a1a2 // // 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 // int __fastcall sub_810AF0(int *a1) { unsigned int v1; // r3 v1 = *(unsigned __int8 *)*a1; if ( v1 == 110 ) { if ( sub_80F83C(a1, (int)"node") ) return 2; else return 0; } else { if ( v1 <= 0x6E ) { if ( v1 == 99 ) { if ( sub_80F83C(a1, (int)"comment") ) return 3; else return 0; } return 0; } if ( v1 == 112 ) { if ( sub_80F83C(a1, (int)"processing-instruction") ) return 4; else return 0; } else { if ( v1 != 116 ) return 0; if ( sub_80F83C(a1, (int)"text") ) return 5; else return 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source