// // LevelBrowserLayer::showImportResult from 0x1004879d0 to 0x100487b53 (387 bytes) // // 2 xrefs: // > sub_1004832B0 @ 0x1004832de // > LevelBrowserLayer::onLevelsImported @ 0x100483328 // // This function is hookable on this platform (idp: pc, 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 12:30:43 +0000 // void __fastcall LevelBrowserLayer::showImportResult(__int64 *a1, int a2, double a3, double a4, double a5, __m128 a6) { __int64 v6; // rax const std::string::value_type *CString; // rax char *v8; // rax std::string::pointer v9; // rdi __int64 v10; // rax __int128 v11; // [rsp+0h] [rbp-70h] BYREF void *__p; // [rsp+10h] [rbp-60h] _QWORD v13[2]; // [rsp+18h] [rbp-58h] BYREF char *v14; // [rsp+28h] [rbp-48h] __int128 v15; // [rsp+30h] [rbp-40h] BYREF void *data; // [rsp+40h] [rbp-30h] std::string v17; // [rsp+50h] [rbp-20h] BYREF if ( a2 <= 0 ) { if ( !a2 ) { v14 = (char *)operator new(0x20u); v13[0] = 33; v13[1] = 24; strcpy(v14, "No levels were imported."); v10 = sub_100493AB0(0, "Info", v13, "OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 1312LL))(v10); if ( (v13[0] & 1) != 0 ) { v9 = v14; goto LABEL_16; } } } else { memset(&v17, 0, sizeof(v17)); if ( a2 == 1 ) { std::string::assign(&v17, "Level imported!"); } else { v6 = sub_10088E820("%i levels imported!", v11); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v6); std::string::assign(&v17, CString); } if ( (*(_BYTE *)&v17.__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30(&v15, v17.__r_.__value_.__l.__data_, v17.__r_.__value_.__l.__size_); } else { data = v17.__r_.__value_.__l.__data_; v15 = *(_OWORD *)&v17.__r_.__value_.__l.0; } LOWORD(v11) = 0; v8 = TextAlertPopup::create(&v15, 0x96u, &v11, 0.5, 0.60000002); (*(void (__fastcall **)(__int64 *, char *, __int64))(*a1 + 464))(a1, v8, 100); if ( (v11 & 1) != 0 ) operator delete(__p); if ( (v15 & 1) != 0 ) operator delete(data); LevelBrowserLayer::loadPage((__int64)a1, a1[83], COERCE_DOUBLE(1056964608), COERCE_DOUBLE(1058642330), a5, a6); if ( (*(_BYTE *)&v17.__r_.__value_.__s.0 & 1) != 0 ) { v9 = v17.__r_.__value_.__l.__data_; LABEL_16: operator delete(v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source