// // GameCell::loadFromString from 0x1002f7960 to 0x1002f7c7e (798 bytes) // // 1 xrefs: // > BoomListView::loadCell @ 0x1002f7918 // // 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:28:27 +0000 // void __fastcall GameCell::loadFromString(__int64 a1, unsigned __int8 *a2) { __int64 v2; // rbx unsigned int v3; // r12d const void *v4; // r13 unsigned __int64 v5; // r12 size_t v6; // rdx std::string *v7; // rdi const std::string::value_type *CString; // rsi size_t v9; // r14 __int64 v10; // rax __int64 v11; // rax const char *v12; // r15 size_t v13; // rax size_t v14; // r14 char *v15; // r12 char *v16; // rdi char *v17; // rax _WORD *v18; // rax int v19; // edx int v20; // ecx int v21; // r8d int v22; // r9d __int64 v23; // r14 size_t v24; // r13 char v25; // [rsp+0h] [rbp-60h] float v26; // [rsp+8h] [rbp-58h] BYREF unsigned __int8 *v27; // [rsp+10h] [rbp-50h] __int64 v28; // [rsp+18h] [rbp-48h] _QWORD __s2[2]; // [rsp+20h] [rbp-40h] BYREF void *__p; // [rsp+30h] [rbp-30h] v2 = a1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); *(_WORD *)((char *)__s2 + 1) = 27239; BYTE3(__s2[0]) = 0; v3 = *a2; v4 = a2 + 1; v27 = a2 + 1; if ( (v3 & 1) != 0 ) { v5 = *((_QWORD *)a2 + 1); v4 = *((const void **)a2 + 2); } else { v5 = v3 >> 1; } v6 = 2; if ( v5 < 2 ) v6 = v5; if ( (v5 != 2) | (memcmp(v4, (char *)__s2 + 1, v6) != 0) ) { v28 = a1; *(_DWORD *)((char *)__s2 + 1) = 7105127; v9 = 3; if ( v5 < 3 ) v9 = v5; if ( (v5 != 3) | (memcmp(v4, (char *)__s2 + 1, v9) != 0) ) { *(_DWORD *)((char *)__s2 + 1) = 7170663; if ( (v5 != 3) | (memcmp(v4, (char *)__s2 + 1, v9) != 0) ) { *(_DWORD *)((char *)__s2 + 1) = 7826023; if ( (v5 != 3) | (memcmp(v4, (char *)__s2 + 1, v9) != 0) ) { *(_DWORD *)((char *)__s2 + 1) = 8022631; if ( (v5 != 3) | (memcmp(v4, (char *)__s2 + 1, v9) != 0) ) { v10 = sub_10088E820("https://www.robtopgames.com/download/%s%i", v25); v2 = v28; v7 = (std::string *)(v28 + 560); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v10); } else { v2 = v28; v7 = (std::string *)(v28 + 560); CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashsubzero"; } } else { v2 = v28; v7 = (std::string *)(v28 + 560); CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashworld"; } } else { v2 = v28; v7 = (std::string *)(v28 + 560); CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashmeltdown"; } } else { v2 = v28; v7 = (std::string *)(v28 + 560); CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjumplite"; } } else { v7 = (std::string *)(a1 + 560); CString = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjump"; } std::string::assign(v7, CString); v11 = sub_10088E820("promo_%s.png", v25); v12 = (const char *)cocos2d::CCString::getCString(v11); v13 = strlen(v12); if ( v13 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v14 = v13; if ( v13 >= 0x17 ) { v24 = 26; if ( (v13 | 7) != 0x17 ) v24 = (v13 | 7) + 1; v15 = (char *)operator new(v24); __p = v15; __s2[0] = v24 + 1; __s2[1] = v14; } else { LOBYTE(__s2[0]) = 2 * v13; v15 = (char *)__s2 + 1; if ( !v13 ) { BYTE1(__s2[0]) = 0; v16 = (char *)__s2 + 1; if ( (__s2[0] & 1) == 0 ) goto LABEL_24; goto LABEL_23; } } memmove(v15, v12, v14); v15[v14] = 0; v16 = (char *)__s2 + 1; if ( (__s2[0] & 1) != 0 ) LABEL_23: v16 = (char *)__p; LABEL_24: v17 = cocos2d::CCSprite::create_1((__int64)v16); v18 = CCMenuItemSpriteExtra::create((__int64)v17, 0, v2, (__int64)GameCell::onTouch, 0); v18[204] = 256; v23 = sub_1008735E0((_DWORD)v18, 0, v19, v20, v21, v22); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v2 + 536) + 456LL))(*(_QWORD *)(v2 + 536), v23); sub_100278250(&v26, *(float *)(v2 + 520) * 0.5, 0.5 * *(float *)(v2 + 524)); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v23 + 184LL))(v23, &v26); if ( (__s2[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source