// // GameCell::loadFromString from 0x2e17c4 to 0x2e1980 (444 bytes) // // 1 xrefs: // > BoomListView::loadCell @ 0x2e19f4 // // 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 // int __fastcall GameCell::loadFromString(unsigned int a1, const char **a2) { int v4; // r10 int v5; // r0 char *CString; // r1 int v7; // r10 int v8; // r10 int v9; // r10 int v10; // r10 cocos2d::CCString *v11; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 const char *v14; // r1 cocos2d::CCNode *v15; // r0 cocos2d::CCMenu *v16; // r0 int v17; // r4 void (__fastcall *v18)(int, cocos2d::CCPoint *); // r9 cocos2d::CCSprite *v20; // [sp+8h] [bp-18h] BYREF cocos2d::CCPoint v21; // [sp+Ch] [bp-14h] BYREF _DWORD v22[2]; // [sp+14h] [bp-Ch] BYREF (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 404) + 284))(*(_DWORD *)(a1 + 404), 1); sub_776584((int)v22, "gj"); v4 = sub_774DBC(a2, v22); sub_774008(v22); if ( v4 ) { sub_776584((int)v22, "gjl"); v7 = sub_774DBC(a2, v22); sub_774008(v22); if ( v7 ) { sub_776584((int)v22, "gjm"); v8 = sub_774DBC(a2, v22); sub_774008(v22); if ( v8 ) { sub_776584((int)v22, "gjw"); v9 = sub_774DBC(a2, v22); sub_774008(v22); if ( v9 ) { sub_776584((int)v22, "gjz"); v10 = sub_774DBC(a2, v22); sub_774008(v22); if ( v10 ) { v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"https://www.robtopgames.com/download/%s%i", *a2, 0); CString = (char *)cocos2d::CCString::getCString(v11); v5 = a1 + 416; } else { v5 = a1 + 416; CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashsubzero"; } } else { v5 = a1 + 416; CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashworld"; } } else { v5 = a1 + 416; CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashmeltdown"; } } else { v5 = a1 + 416; CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjumplite"; } } else { v5 = a1 + 416; CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjump"; } sub_7753D4(v5, CString); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"promo_%s.png", *a2); v13 = (char *)cocos2d::CCString::getCString(v12); sub_776584((int)&v20, v13); v15 = (cocos2d::CCNode *)cocos2d::CCSprite::create(v20, v14); v22[1] = 0; v22[0] = GameCell::onTouch; v16 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create( v15, nullptr, (cocos2d::SEL_MenuHandler)__PAIR64__(GameCell::onTouch, a1)); v16->_displayedOpacity = 0; v16->_realOpacity = 1; v17 = cocos2d::CCMenu::create(v16, nullptr); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 404) + 220))(*(_DWORD *)(a1 + 404), v17); v18 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v17 + 92); cocos2d::CCPoint::CCPoint(&v21, *(float *)(a1 + 392) * 0.5, *(float *)(a1 + 396) * 0.5); v18(v17, &v21); return sub_774008(&v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source