// // StarInfoPopup::createFromString from 0x1007be990 to 0x1007bec0a (634 bytes) // // 1 xrefs: // > ProfilePage::onStatInfo @ 0x1007bc8db // // 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 // StarInfoPopup *__fastcall StarInfoPopup::createFromString(__int64 a1) { char *v1; // r14 int v2; // edi int v3; // esi int v4; // edx int v5; // r13d int v6; // ebx int v7; // r15d int v8; // r12d int v9; // eax int v10; // eax bool v11; // zf int v12; // eax const char *v13; // r14 int v14; // eax int v15; // eax StarInfoPopup *result; // rax void **v17; // rbx StarInfoPopup *v18; // r14 void **v19; // r15 void *v20; // rdi void *__p[2]; // [rsp+20h] [rbp-50h] BYREF __int64 v22; // [rsp+30h] [rbp-40h] int v23; // [rsp+3Ch] [rbp-34h] int v24; // [rsp+40h] [rbp-30h] int v25; // [rsp+44h] [rbp-2Ch] *(_OWORD *)__p = 0; v22 = 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; if ( 0xAAAAAAAAAAAAAAABLL * (((char *)__p[1] - (char *)__p[0]) >> 3) >= 8 ) { if ( (*(_BYTE *)__p[0] & 1) != 0 ) { v23 = atoi(*((const char **)__p[0] + 2)); if ( (v1[24] & 1) != 0 ) { LABEL_4: v10 = atoi(*((const char **)v1 + 5)); v11 = (v1[48] & 1) == 0; v24 = v10; if ( !v11 ) goto LABEL_5; goto LABEL_13; } } else { v23 = atoi((const char *)__p[0] + 1); if ( (v1[24] & 1) != 0 ) goto LABEL_4; } v14 = atoi(v1 + 25); v11 = (v1[48] & 1) == 0; v24 = v14; if ( !v11 ) { LABEL_5: v12 = atoi(*((const char **)v1 + 8)); v11 = (v1[72] & 1) == 0; v25 = v12; if ( !v11 ) goto LABEL_6; goto LABEL_14; } LABEL_13: v15 = atoi(v1 + 49); v11 = (v1[72] & 1) == 0; v25 = v15; if ( !v11 ) { LABEL_6: v5 = atoi(*((const char **)v1 + 11)); if ( (v1[96] & 1) != 0 ) goto LABEL_7; goto LABEL_15; } LABEL_14: v5 = atoi(v1 + 73); if ( (v1[96] & 1) != 0 ) { LABEL_7: v6 = atoi(*((const char **)v1 + 14)); if ( (v1[120] & 1) != 0 ) goto LABEL_8; goto LABEL_16; } LABEL_15: v6 = atoi(v1 + 97); if ( (v1[120] & 1) != 0 ) { LABEL_8: v7 = atoi(*((const char **)v1 + 17)); if ( (v1[144] & 1) != 0 ) goto LABEL_9; goto LABEL_17; } LABEL_16: v7 = atoi(v1 + 121); if ( (v1[144] & 1) != 0 ) { LABEL_9: v8 = atoi(*((const char **)v1 + 20)); if ( (v1[168] & 1) != 0 ) { LABEL_10: v13 = *((const char **)v1 + 23); LABEL_19: v9 = atoi(v13); v2 = v23; v3 = v24; v4 = v25; goto LABEL_20; } LABEL_18: v13 = v1 + 169; goto LABEL_19; } LABEL_17: v8 = atoi(v1 + 145); if ( (v1[168] & 1) != 0 ) goto LABEL_10; goto LABEL_18; } LABEL_20: result = StarInfoPopup::create(v2, v3, v4, v5, v6, v7, v8, v9, 0, 0); v17 = (void **)__p[0]; if ( __p[0] ) { v18 = result; v19 = (void **)__p[1]; v20 = __p[0]; if ( __p[1] != __p[0] ) { do { if ( (*(_BYTE *)(v19 - 3) & 1) != 0 ) operator delete(*(v19 - 1)); v19 -= 3; } while ( v19 != v17 ); v20 = __p[0]; } __p[1] = v17; operator delete(v20); return v18; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source