// // GameCell::loadFromString from 0x688b8c to 0x688f0c (896 bytes) // // 2 xrefs: // > BoomListView::loadCell @ 0x688fc8 // > @ 0x5a298 // // This function is hookable on this platform (idp: arm, 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:50:32 +0000 // __int64 __fastcall GameCell::loadFromString(__int64 a1, __int64 a2) { _BOOL4 v4; // w23 const char *v5; // x1 cocos2d::CCString *v6; // x0 const char *v7; // x0 size_t v8; // x0 cocos2d::CCSprite *v9; // x0 __int64 v10; // x0 cocos2d::CCMenu *v11; // x0 __int64 v12; // x19 float v13; // s2 float v14; // s0 void (__fastcall *v15)(__int64, _BYTE *); // x20 _BOOL4 v17; // w23 _BOOL4 v18; // w23 _BOOL4 v19; // w23 _BOOL4 v20; // w23 const char *v21; // x1 cocos2d::CCString *v22; // x0 char *CString; // x0 char *v24; // [xsp+48h] [xbp+48h] _BYTE v25[8]; // [xsp+58h] [xbp+58h] BYREF char *v26; // [xsp+60h] [xbp+60h] BYREF __int64 v27; // [xsp+68h] [xbp+68h] cocos2d::CCSprite *v28; // [xsp+70h] [xbp+70h] (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); v26 = nullptr; v27 = 0; v28 = nullptr; std::string::__init((__int64 *)&v26, "gj", 2u); v4 = sub_688170(a2, (__int64)&v26); if ( ((unsigned __int8)v26 & 1) != 0 ) operator delete(v28); if ( v4 ) { std::string::assign((__int64 *)(a1 + 560), "https://play.google.com/store/apps/details?id=com.robtopx.geometryjump"); goto LABEL_5; } v26 = nullptr; v27 = 0; v28 = nullptr; std::string::__init((__int64 *)&v26, "gjl", 3u); v17 = sub_688170(a2, (__int64)&v26); if ( ((unsigned __int8)v26 & 1) != 0 ) { operator delete(v28); if ( v17 ) goto LABEL_14; } else if ( v17 ) { LABEL_14: std::string::assign( (__int64 *)(a1 + 560), "https://play.google.com/store/apps/details?id=com.robtopx.geometryjumplite"); goto LABEL_5; } v26 = nullptr; v27 = 0; v28 = nullptr; std::string::__init((__int64 *)&v26, "gjm", 3u); v18 = sub_688170(a2, (__int64)&v26); if ( ((unsigned __int8)v26 & 1) != 0 ) { operator delete(v28); if ( v18 ) goto LABEL_17; } else if ( v18 ) { LABEL_17: std::string::assign( (__int64 *)(a1 + 560), "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashmeltdown"); goto LABEL_5; } v26 = nullptr; v27 = 0; v28 = nullptr; std::string::__init((__int64 *)&v26, "gjw", 3u); v19 = sub_688170(a2, (__int64)&v26); if ( ((unsigned __int8)v26 & 1) != 0 ) operator delete(v28); if ( v19 ) { std::string::assign( (__int64 *)(a1 + 560), "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashworld"); goto LABEL_5; } v26 = nullptr; v27 = 0; v28 = nullptr; std::string::__init((__int64 *)&v26, "gjz", 3u); v20 = sub_688170(a2, (__int64)&v26); if ( ((unsigned __int8)v26 & 1) != 0 ) { operator delete(v28); if ( !v20 ) goto LABEL_28; LABEL_31: std::string::assign( (__int64 *)(a1 + 560), "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashsubzero"); goto LABEL_5; } if ( v20 ) goto LABEL_31; LABEL_28: v21 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v21 = *(const char **)(a2 + 16); v22 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"https://www.robtopgames.com/download/%s%i", v21, 0); CString = (char *)cocos2d::CCString::getCString(v22); std::string::assign((__int64 *)(a1 + 560), CString); LABEL_5: v5 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v5 = *(const char **)(a2 + 16); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"promo_%s.png", v5); v7 = (const char *)cocos2d::CCString::getCString(v6); v26 = nullptr; v24 = (char *)v7; v27 = 0; v28 = nullptr; v8 = strlen(v7); std::string::__init((__int64 *)&v26, v24, v8); v9 = (cocos2d::CCSprite *)((char *)&v26 + 1); if ( ((unsigned __int8)v26 & 1) != 0 ) v9 = v28; v10 = cocos2d::CCSprite::create(v9, (const char *)(unsigned __int8)v26); v11 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v10, 0, a1, GameCell::onTouch, 0); *((_BYTE *)v11 + 409) = 1; *((_BYTE *)v11 + 408) = 0; v12 = cocos2d::CCMenu::create(v11, nullptr); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v12); v13 = *(float *)(a1 + 524); v14 = *(float *)(a1 + 520) * 0.5; v15 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v12 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v25, v14, v13 * 0.5); v15(v12, v25); if ( ((unsigned __int8)v26 & 1) != 0 ) operator delete(v28); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source