// // GameLevelManager::createAndGetLevels from 0x100093aac to 0x100093bd8 (300 bytes) // // 1 xrefs: // > GameLevelManager::onGetOnlineLevelsCompleted @ 0x10008a7f4 // // 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 // __int64 __fastcall GameLevelManager::createAndGetLevels(__int64 a1, char *a2) { __int64 v3; // x19 __int64 v4; // x20 __int64 v5; // x21 cocos2d::CCString *v6; // x0 char *CString; // x0 cocos2d::CCDictionary *v8; // x0 GJGameLevel *v9; // x0 GJGameLevel *v10; // x22 std::string v12; // [xsp+0h] [xbp-50h] BYREF std::string __p; // [xsp+18h] [xbp-38h] BYREF v3 = sub_10024A15C(a1); if ( a2[23] < 0 ) a2 = *(char **)a2; sub_100009900(&__p, a2); v4 = sub_100093338(&__p, "|"); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); if ( (unsigned int)sub_10024A36C(v4) ) { v5 = 0; while ( 1 ) { v6 = (cocos2d::CCString *)sub_10024A388(v4, v5); CString = (char *)cocos2d::CCString::getCString(v6); sub_100009900(&__p, CString); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&v12, __p.__r_.__value_.__l.__data_, __p.__r_.__value_.__l.__size_); else v12 = __p; v8 = (cocos2d::CCDictionary *)GameLevelManager::responseToDict(&v12, 0); v9 = GJGameLevel::create(v8, 1); v10 = v9; if ( (SHIBYTE(v12.__r_.__value_.__r.__words[2]) & 0x80000000) == 0 ) break; operator delete(v12.__r_.__value_.__l.__data_); if ( v10 ) goto LABEL_14; LABEL_15: if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); v5 = (unsigned int)(v5 + 1); if ( (unsigned int)v5 >= (unsigned int)sub_10024A36C(v4) ) return v3; } if ( !v9 ) goto LABEL_15; LABEL_14: sub_10024A2D0(v3, v10); goto LABEL_15; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source