// // DemonInfoPopup::createFromString from 0x1007bee70 to 0x1007bf1fa (906 bytes) // // 1 xrefs: // > ProfilePage::onStatInfo @ 0x1007bca3a // // 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 // DemonInfoPopup *__fastcall DemonInfoPopup::createFromString(__int64 a1) { char *v1; // r14 int v2; // edi int v3; // esi int v4; // edx int v5; // ecx int v6; // r8d int v7; // r9d int v8; // r11d int v9; // r13d int v10; // ebx int v11; // r15d int v12; // r12d int v13; // eax int v14; // eax bool v15; // zf int v16; // eax int v17; // eax int v18; // eax int v19; // eax int v20; // eax const char *v21; // r14 int v22; // eax int v23; // eax int v24; // eax int v25; // eax int v26; // eax int v27; // eax DemonInfoPopup *result; // rax void **v29; // rbx DemonInfoPopup *v30; // r14 void **v31; // r15 void *v32; // rdi void *__p[2]; // [rsp+30h] [rbp-60h] BYREF __int64 v34; // [rsp+40h] [rbp-50h] int v35; // [rsp+4Ch] [rbp-44h] int v36; // [rsp+50h] [rbp-40h] int v37; // [rsp+54h] [rbp-3Ch] int v38; // [rsp+58h] [rbp-38h] int v39; // [rsp+5Ch] [rbp-34h] int v40; // [rsp+60h] [rbp-30h] int v41; // [rsp+64h] [rbp-2Ch] *(_OWORD *)__p = 0; v34 = 0; sub_1007C0FA0(a1, __p); v1 = (char *)__p[0]; v2 = 0; v3 = 0; v4 = 0; v5 = 0; v6 = 0; v7 = 0; v8 = 0; v9 = 0; v10 = 0; v11 = 0; v12 = 0; v13 = 0; if ( 0xAAAAAAAAAAAAAAABLL * (((char *)__p[1] - (char *)__p[0]) >> 3) >= 0xC ) { if ( (*(_BYTE *)__p[0] & 1) != 0 ) { v35 = atoi(*((const char **)__p[0] + 2)); if ( (v1[24] & 1) != 0 ) { LABEL_4: v14 = atoi(*((const char **)v1 + 5)); v15 = (v1[48] & 1) == 0; v36 = v14; if ( !v15 ) goto LABEL_5; goto LABEL_17; } } else { v35 = atoi((const char *)__p[0] + 1); if ( (v1[24] & 1) != 0 ) goto LABEL_4; } v22 = atoi(v1 + 25); v15 = (v1[48] & 1) == 0; v36 = v22; if ( !v15 ) { LABEL_5: v16 = atoi(*((const char **)v1 + 8)); v15 = (v1[72] & 1) == 0; v37 = v16; if ( !v15 ) goto LABEL_6; goto LABEL_18; } LABEL_17: v23 = atoi(v1 + 49); v15 = (v1[72] & 1) == 0; v37 = v23; if ( !v15 ) { LABEL_6: v17 = atoi(*((const char **)v1 + 11)); v15 = (v1[96] & 1) == 0; v38 = v17; if ( !v15 ) goto LABEL_7; goto LABEL_19; } LABEL_18: v24 = atoi(v1 + 73); v15 = (v1[96] & 1) == 0; v38 = v24; if ( !v15 ) { LABEL_7: v18 = atoi(*((const char **)v1 + 14)); v15 = (v1[120] & 1) == 0; v39 = v18; if ( !v15 ) goto LABEL_8; goto LABEL_20; } LABEL_19: v25 = atoi(v1 + 97); v15 = (v1[120] & 1) == 0; v39 = v25; if ( !v15 ) { LABEL_8: v19 = atoi(*((const char **)v1 + 17)); v15 = (v1[144] & 1) == 0; v40 = v19; if ( !v15 ) goto LABEL_9; goto LABEL_21; } LABEL_20: v26 = atoi(v1 + 121); v15 = (v1[144] & 1) == 0; v40 = v26; if ( !v15 ) { LABEL_9: v20 = atoi(*((const char **)v1 + 20)); v15 = (v1[168] & 1) == 0; v41 = v20; if ( !v15 ) goto LABEL_10; goto LABEL_22; } LABEL_21: v27 = atoi(v1 + 145); v15 = (v1[168] & 1) == 0; v41 = v27; if ( !v15 ) { LABEL_10: v9 = atoi(*((const char **)v1 + 23)); if ( (v1[192] & 1) != 0 ) goto LABEL_11; goto LABEL_23; } LABEL_22: v9 = atoi(v1 + 169); if ( (v1[192] & 1) != 0 ) { LABEL_11: v10 = atoi(*((const char **)v1 + 26)); if ( (v1[216] & 1) != 0 ) goto LABEL_12; goto LABEL_24; } LABEL_23: v10 = atoi(v1 + 193); if ( (v1[216] & 1) != 0 ) { LABEL_12: v11 = atoi(*((const char **)v1 + 29)); if ( (v1[240] & 1) != 0 ) goto LABEL_13; goto LABEL_25; } LABEL_24: v11 = atoi(v1 + 217); if ( (v1[240] & 1) != 0 ) { LABEL_13: v12 = atoi(*((const char **)v1 + 32)); if ( (v1[264] & 1) != 0 ) { LABEL_14: v21 = *((const char **)v1 + 35); LABEL_27: v13 = atoi(v21); v2 = v35; v3 = v36; v4 = v37; v5 = v38; v6 = v39; v7 = v40; v8 = v41; goto LABEL_28; } LABEL_26: v21 = v1 + 265; goto LABEL_27; } LABEL_25: v12 = atoi(v1 + 241); if ( (v1[264] & 1) != 0 ) goto LABEL_14; goto LABEL_26; } LABEL_28: result = DemonInfoPopup::create(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13); v29 = (void **)__p[0]; if ( __p[0] ) { v30 = result; v31 = (void **)__p[1]; v32 = __p[0]; if ( __p[1] != __p[0] ) { do { if ( (*(_BYTE *)(v31 - 3) & 1) != 0 ) operator delete(*(v31 - 1)); v31 -= 3; } while ( v31 != v29 ); v32 = __p[0]; } __p[1] = v29; operator delete(v32); return v30; } return result; }