// // GameCell::loadFromString from 0x14003c840 to 0x14003cbf2 (946 bytes) // // 3 xrefs: // > BoomListView::loadCell @ 0x14003c6be // > CustomListView::loadCell @ 0x1400abc1c // > @ 0x1406c3eac // // 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 // // Hidden C++ exception states: #wind=2 void __fastcall GameCell::loadFromString(__int64 a1, cocos2d::CCPoint a2) { const void **v2; // rsi int v4; // ebx size_t v5; // rdi size_t v6; // r8 char *v7; // rdx const void *v8; // rcx unsigned __int64 v9; // rbx size_t v10; // r8 int v11; // ebx const void *v12; // rcx unsigned __int64 v13; // rbx size_t v14; // r8 int v15; // ebx const char *v16; // rdx cocos2d::CCString *v17; // rax const char *CString; // rax const char *v19; // rdx cocos2d::CCString *v20; // rax const char *v21; // rax void **v22; // rcx struct cocos2d::CCSprite *v23; // rax CCMenuItemSpriteExtra *v24; // rax struct cocos2d::CCMenu *v25; // rdi cocos2d::CCMenu_vtbl *v26; // rbx const cocos2d::CCPoint *v27; // rax void *v28; // rcx cocos2d::CCPoint v29[2]; // [rsp+20h] [rbp-60h] BYREF __int128 Buf2; // [rsp+30h] [rbp-50h] BYREF __int64 v31; // [rsp+40h] [rbp-40h] __int64 v32; // [rsp+48h] [rbp-38h] void *Block[2]; // [rsp+50h] [rbp-30h] BYREF __m128i si128; // [rsp+60h] [rbp-20h] v2 = (const void **)a2; v29[1] = a2; LOBYTE(a2.x) = 1; (*(void (__fastcall **)(_QWORD, cocos2d::CCPoint))(**(_QWORD **)(a1 + 544) + 560LL))(*(_QWORD *)(a1 + 544), a2); Buf2 = 0; v31 = 2; v32 = 15; strcpy((char *)&Buf2, "gj"); v4 = sub_14003A760(v2, &Buf2); sub_14003A830((__int64)&Buf2); v5 = -1; if ( v4 ) { Buf2 = 0; v31 = 3; v32 = 15; LODWORD(Buf2) = 7105127; v8 = v2; if ( (unsigned __int64)v2[3] > 0xF ) v8 = *v2; v9 = (unsigned __int64)v2[2]; v10 = v9; if ( v9 > 3 ) v10 = 3; if ( !memcmp(v8, &Buf2, v10) && v9 == 3 ) { v6 = 74; v7 = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjumplite"; } else { Buf2 = 0; v31 = 3; v32 = 15; LODWORD(Buf2) = 7170663; v11 = sub_14003A760(v2, &Buf2); sub_14003A830((__int64)&Buf2); if ( v11 ) { Buf2 = 0; v31 = 3; v32 = 15; LODWORD(Buf2) = 7826023; v12 = v2; if ( (unsigned __int64)v2[3] > 0xF ) v12 = *v2; v13 = (unsigned __int64)v2[2]; v14 = v13; if ( v13 > 3 ) v14 = 3; if ( !memcmp(v12, &Buf2, v14) && v13 == 3 ) { v6 = 75; v7 = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashworld"; } else { Buf2 = 0; v31 = 3; v32 = 15; LODWORD(Buf2) = 8022631; v15 = sub_14003A760(v2, &Buf2); sub_14003A830((__int64)&Buf2); if ( v15 ) { v16 = (const char *)v2; if ( (unsigned __int64)v2[3] > 0xF ) v16 = (const char *)*v2; v17 = cocos2d::CCString::createWithFormat("https://www.robtopgames.com/download/%s%i", v16, 0); CString = cocos2d::CCString::getCString(v17); v6 = -1; do ++v6; while ( CString[v6] ); v7 = (char *)CString; } else { v6 = 77; v7 = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashsubzero"; } } } else { v6 = 78; v7 = "https://play.google.com/store/apps/details?id=com.robtopx.geometrydashmeltdown"; } } } else { v6 = 70; v7 = "https://play.google.com/store/apps/details?id=com.robtopx.geometryjump"; } sub_14003CCE0((void *)(a1 + 568), v7, v6); v19 = (const char *)v2; if ( (unsigned __int64)v2[3] > 0xF ) v19 = (const char *)*v2; v20 = cocos2d::CCString::createWithFormat("promo_%s.png", v19); v21 = cocos2d::CCString::getCString(v20); *(_OWORD *)Block = 0; si128 = 0; do ++v5; while ( v21[v5] ); sub_14003A930(Block, v21, v5); v22 = Block; if ( si128.m128i_i64[1] > 0xFuLL ) v22 = (void **)Block[0]; v23 = cocos2d::CCSprite::create((const char *)v22); v24 = CCMenuItemSpriteExtra::create( v23, nullptr, (cocos2d::CCObject *)a1, (cocos2d::SEL_MenuHandler *)GameCell::onTouch); LOWORD(v24->m_scaleMultiplier) = 256; v25 = cocos2d::CCMenu::create(v24, 0); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu *))(**(_QWORD **)(a1 + 544) + 448LL))( *(_QWORD *)(a1 + 544), v25); v26 = v25->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v27 = (const cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint(v29, *(float *)(a1 + 528) * 0.5, *(float *)(a1 + 532) * 0.5); v26->setPosition_0(v25, v27); if ( si128.m128i_i64[1] > 0xFuLL ) { v28 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v28 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v28 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v28); } si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30); LOBYTE(Block[0]) = 0; sub_14003A830((__int64)v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source