// // StarInfoPopup::createFromStringMoons from 0x9011f0 to 0x901408 (536 bytes) // // 2 xrefs: // > ProfilePage::onStatInfo @ 0x901974 // > @ 0x2bcc8 // // 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::createFromStringMoons(_QWORD *a1) { void *v1; // x19 int v2; // w20 int v3; // w0 StarInfoPopup *v4; // x0 __int64 *v5; // x19 StarInfoPopup *v6; // x23 __int64 *v7; // x20 __int64 v8; // x1 __int64 *v9; // x0 unsigned int *v10; // x1 int v11; // w2 int v13; // [xsp+68h] [xbp+58h] int v14; // [xsp+70h] [xbp+60h] int v15; // [xsp+78h] [xbp+68h] int v16; // [xsp+80h] [xbp+70h] int v17; // [xsp+88h] [xbp+78h] void *v18; // [xsp+A0h] [xbp+90h] BYREF void *p; // [xsp+A8h] [xbp+98h] __int64 v20; // [xsp+B0h] [xbp+A0h] v18 = nullptr; p = nullptr; v20 = 0; sub_900FBC(a1, (__int64)&v18); v1 = v18; if ( (unsigned __int64)((_BYTE *)p - (_BYTE *)v18) <= 0x37 ) { v4 = StarInfoPopup::create(0, 0, 0, 0, 0, 0, 0, 0, 0, 1); } else { v2 = atoi(*(const char **)v18); v13 = atoi(*(const char **)&byte_8[(_QWORD)v1]); v14 = atoi(*(const char **)((char *)&word_10 + (_QWORD)v1)); v15 = atoi(*(const char **)((char *)&off_18 + (_QWORD)v1)); v16 = atoi(*(const char **)((char *)&qword_20 + (_QWORD)v1)); v17 = atoi(*(const char **)((char *)&qword_28 + (_QWORD)v1)); v3 = atoi(*(const char **)((char *)&dword_30 + (_QWORD)v1)); v4 = StarInfoPopup::create(v2, v13, v14, v15, v16, v17, 0, 0, v3, 1); } v5 = (__int64 *)v18; v6 = v4; v7 = (__int64 *)p; if ( v18 != p ) { do { while ( 1 ) { v8 = *v5; v9 = (__int64 *)(*v5 - 24); if ( v9 != &qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v8 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v11 - 1; } if ( v11 <= 0 ) break; } if ( v7 == ++v5 ) goto LABEL_12; } ++v5; operator delete(v9); } while ( v7 != v5 ); LABEL_12: v7 = (__int64 *)v18; } if ( v7 ) operator delete(v7); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source