// // sub_10093B920 from 0x10093b920 to 0x10093bb4f (559 bytes) // // 3 xrefs: // > sub_10093A2D0 @ 0x10093a442 // > sub_10093A510 @ 0x10093a53f // > ThreadRequestPopup::ccTouchEnded @ 0x1009556ab // // 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:38:29 +0000 // char __fastcall sub_10093B920(__int64 a1, int a2, char a3) { _QWORD *v4; // rax __int64 v5; // rsi int v6; // edx int v7; // ecx int v8; // r8d int v9; // r9d __int64 v10; // rax _QWORD *v11; // rax char *v12; // rax const char *CString; // r15 size_t v14; // rax std::string::size_type v15; // r14 char *data; // r12 size_t v18; // r13 char *v19; // r14 const std::string::value_type *Key; // rax char v21; // bl __int64 v22; // rdi std::string __dst; // [rsp+8h] [rbp-48h] BYREF _DWORD v24[11]; // [rsp+24h] [rbp-2Ch] BYREF if ( a2 <= 0 ) return 0; v24[0] = 0; if ( !cocos2d::CCLayerColor::initWithColor(a1, (__int64)v24) ) return 0; *(_DWORD *)(a1 + 672) = a2; *(_BYTE *)(a1 + 676) = a3; FLAlertLayer::incrementForcePrio((_BYTE *)a1); *(_BYTE *)(a1 + 596) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1072LL))(a1, 1); v4 = cocos2d::CCLayer::create(); *(_QWORD *)(a1 + 584) = v4; v5 = (__int64)v4; (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 456LL))(a1, v4); v10 = cocos2d::CCMenu::create(a1, v5, v6, v7, v8, v9); *(_QWORD *)(a1 + 552) = v10; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v10, 10); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 184LL))(*(_QWORD *)(a1 + 552), &unk_100BE7580); *(_DWORD *)(a1 + 640) = -1; v11 = LoadingCircle::create(); *(_QWORD *)(a1 + 720) = v11; v11[69] = *(_QWORD *)(a1 + 584); *((_BYTE *)v11 + 560) = 0; LoadingCircle::show((__int64)v11); v12 = sub_10088E820("%i", *(_DWORD *)(a1 + 672)); CString = (const char *)cocos2d::CCString::getCString((__int64)v12); v14 = strlen(CString); if ( v14 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v15 = v14; if ( v14 >= 0x17 ) { v18 = 26; if ( (v14 | 7) != 0x17 ) v18 = (v14 | 7) + 1; data = (char *)operator new(v18); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst.__r_.__value_.__r.__words[0] = v18 + 1; __dst.__r_.__value_.__l.__size_ = v15; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v14); data = __dst.__r_.__value_.__s.__data_; if ( !v14 ) goto LABEL_12; } memmove(data, CString, v15); LABEL_12: data[v15] = 0; v19 = GJSearchObject::create_1(0, &__dst); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( *(_BYTE *)(a1 + 676) == 1 ) *((_DWORD *)v19 + 108) = 1; Key = (const std::string::value_type *)GJSearchObject::getKey((__int64)v19); std::string::assign((std::string *)(a1 + 696), Key); *(_QWORD *)(GameLevelManager::sharedState() + 1224) = a1 + 664; v21 = *(_BYTE *)(a1 + 676); v22 = GameLevelManager::sharedState(); if ( v21 == 1 ) GameLevelManager::getLevelLists(v22, (__int64)v19); else GameLevelManager::getOnlineLevels(v22, (__int64)v19); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source