// // LeaderboardsLayer::loadLeaderboardFailed from 0x1003b1f2c to 0x1003b202c (256 bytes) // // 2 xrefs: // > sub_1003B2074 @ 0x1003b2078 // > @ 0x10080e560 // // 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 // void __fastcall LeaderboardsLayer::loadLeaderboardFailed(LeaderboardsLayer *a1, const char *a2) { bool isCorrect; // w0 bool v4; // w20 TextArea *m_noInternet; // x20 TextArea **p_m_noInternet; // x19 const void **v7; // x8 TextArea *v8; // x20 const void *v9[2]; // [xsp+8h] [xbp-58h] BYREF char v10; // [xsp+1Fh] [xbp-41h] const void *v11[2]; // [xsp+20h] [xbp-40h] BYREF char v12; // [xsp+37h] [xbp-29h] const void *v13[2]; // [xsp+38h] [xbp-28h] BYREF char v14; // [xsp+4Fh] [xbp-11h] sub_100009900(v13, (char *)a2); isCorrect = LeaderboardsLayer::isCorrect((__int64)a1, v13); v4 = isCorrect; if ( v14 < 0 ) { operator delete((void *)v13[0]); if ( !v4 ) return; LABEL_5: ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0); if ( PlatformToolbox::isNetworkAvailable() ) { if ( a1->m_type != Friends ) return; m_noInternet = a1->m_noInternet; sub_100009900(v9, "Create an account to\ncompare scores\nwith friends!"); TextArea::setString((__int64)m_noInternet, v9); p_m_noInternet = &a1->m_noInternet; if ( (v10 & 0x80000000) == 0 ) goto LABEL_12; v7 = v9; } else { v8 = a1->m_noInternet; sub_100009900(v11, "No Internet connection!"); TextArea::setString((__int64)v8, v11); p_m_noInternet = &a1->m_noInternet; if ( (v12 & 0x80000000) == 0 ) { LABEL_12: ((void (__fastcall *)(TextArea *, __int64))(*p_m_noInternet)->setVisible)(*p_m_noInternet, 1); return; } v7 = v11; } operator delete((void *)*v7); goto LABEL_12; } if ( isCorrect ) goto LABEL_5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source