// // sub_60152C from 0x60152c to 0x601590 (100 bytes) // // 2 xrefs: // > sub_60A278 @ 0x60a2d4 // > sub_60AD00 @ 0x60b01a // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_60152C(int *a1) { unsigned int v1; // r3 v1 = *(unsigned __int8 *)*a1; if ( v1 == 110 ) { if ( sub_600214(a1, (int)"node") ) return 2; else return 0; } else { if ( v1 <= 0x6E ) { if ( v1 == 99 ) { if ( sub_600214(a1, (int)"comment") ) return 3; else return 0; } return 0; } if ( v1 == 112 ) { if ( sub_600214(a1, (int)"processing-instruction") ) return 4; else return 0; } else { if ( v1 != 116 ) return 0; if ( sub_600214(a1, (int)"text") ) return 5; else return 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source