// // DS_Dictionary::splitWithForm from 0xdb8954 to 0xdb8bb8 (612 bytes) // // 4 xrefs: // > DS_Dictionary::rectFromString @ 0xdb8e44 // > DS_Dictionary::rectFromString @ 0xdb8f18 // > DS_Dictionary::vec2FromString @ 0xdb9438 // > @ 0xb7af0 // // 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 13:08:43 +0000 // bool __fastcall DS_Dictionary::splitWithForm(int a1, size_t *a2, __int64 *a3) { int v6; // w2 size_t v7; // x19 _BOOL4 v8; // w25 const void *v9; // x23 void *v10; // x0 int v11; // w20 size_t v12; // x2 int v14; // w19 int v15; // w20 void *v16; // x0 void *v17; // x0 int v18; // w20 int v19; // w20 __int64 v20; // x1 __int64 v21; // x2 unsigned __int8 v22; // w0 __int64 v23; // x1 __int64 v24; // x2 __int64 v25[3]; // [xsp+50h] [xbp+50h] BYREF v6 = *(unsigned __int8 *)a2; if ( (v6 & 1) != 0 ) { v7 = a2[1]; v8 = 0; if ( !v7 ) return v8; v8 = 0; v9 = (const void *)a2[2]; v10 = memchr(v9, 123, a2[1]); v11 = (_DWORD)v10 - (_DWORD)v9; v12 = v7; if ( !v10 ) v11 = -1; } else { v14 = v6 >> 1; v8 = 0; if ( !(v6 >> 1) ) return v8; v15 = (_DWORD)a2 + 1; v9 = (char *)a2 + 1; v8 = 0; v16 = memchr((char *)a2 + 1, 123, v14); v11 = (_DWORD)v16 - v15; v12 = v14; if ( !v16 ) v11 = -1; if ( !v14 ) return v8; } v17 = memchr(v9, 125, v12); if ( v17 ) { v8 = v11 == -1 || (_DWORD)v17 - (_DWORD)v9 == -1 || v11 > (int)v17 - (int)v9; if ( v8 ) return 0; std::string::basic_string(v25, (__int64)a2, v11 + 1, (int)v17 - (int)v9 - v11 - 1); if ( (v25[0] & 1) != 0 ) { if ( !v25[1] || (v18 = std::string::find((__int64)v25, 0x7Bu, 0), (unsigned int)std::string::find((__int64)v25, 0x7Du, 0) != -1) || v18 != -1 ) { LABEL_17: operator delete((void *)v25[2]); return v8; } LABEL_21: DS_Dictionary::split(a1, (__int64)v25, &byte_1169BE0, (__int64)a3); v20 = *a3; if ( 0xAAAAAAAAAAAAAAABLL * ((a3[1] - *a3) >> 3) != 2 ) goto LABEL_22; v21 = *(_BYTE *)v20 >> 1; if ( (*(_BYTE *)v20 & 1) != 0 ) v21 = *(_QWORD *)(v20 + 8); if ( !v21 ) goto LABEL_22; v22 = *(_BYTE *)(v20 + 24); v23 = v20 + 24; v24 = v22 >> 1; if ( (v22 & 1) != 0 ) v24 = *(_QWORD *)(v23 + 8); if ( v24 ) { v8 = 1; if ( (v25[0] & 1) == 0 ) return v8; } else { LABEL_22: if ( (v25[0] & 1) == 0 ) return v8; } goto LABEL_17; } if ( (int)LOBYTE(v25[0]) >> 1 ) { v19 = std::string::find((__int64)v25, 0x7Bu, 0); if ( (unsigned int)std::string::find((__int64)v25, 0x7Du, 0) == -1 && v19 == -1 ) goto LABEL_21; } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source