// // sub_100455D40 from 0x100455d40 to 0x100455e0c (204 bytes) // // 1 xrefs: // > @ 0x100966fa0 // // 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:05:23 +0000 // unsigned __int8 *__fastcall sub_100455D40(unsigned __int8 *a1) { unsigned __int8 *v2; // x19 int v3; // w8 int v4; // t1 __int64 v5; // x23 void *__src; // [xsp+0h] [xbp-40h] BYREF __int64 v8; // [xsp+8h] [xbp-38h] __src = nullptr; v8 = 0; while ( 1 ) { while ( 1 ) { do { v2 = a1; v4 = *a1++; v3 = v4; } while ( (byte_10076EDBD[v4] & 1) == 0 ); if ( v3 != 13 ) break; *v2 = 10; if ( v2[1] == 10 ) { if ( __src ) { if ( a1 < __src ) sub_1007559F4(); v5 = v8; memmove((char *)__src - v8, __src, a1 - (_BYTE *)__src); } else { v5 = v8; } a1 = v2 + 2; __src = v2 + 2; v8 = v5 + 1; } } if ( !v3 ) break; if ( v3 == 60 ) goto LABEL_14; } a1 = v2; LABEL_14: *(_BYTE *)sub_100455900((char **)&__src, (unsigned __int64)v2) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source