// // GJSearchObject::getSearchKey from 0x82d924 to 0x82db94 (624 bytes) // // 3 xrefs: // > GJSearchObject::getKey @ 0x82dcd8 // > GJSearchObject::getNextPageKey @ 0x82df20 // > @ 0xd3030 // // 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:55:07 +0000 // __int64 __fastcall GJSearchObject::getSearchKey( unsigned int a1, __int64 a2, __int64 a3, __int64 a4, unsigned int a5, unsigned __int8 a6, unsigned __int8 a7, unsigned __int8 a8, int a9, unsigned __int8 a10, unsigned __int8 a11, unsigned __int8 a12, unsigned __int8 a13, unsigned __int8 a14, unsigned __int8 a15, unsigned __int8 a16, unsigned __int8 a17, unsigned __int8 a18, unsigned __int8 a19, int a20, int ActiveDailyID, int a22) { unsigned int v25; // w26 unsigned int v26; // w25 int v27; // w24 GameLevelManager *v28; // x0 int v29; // w23 __int64 v30; // x2 __int64 v31; // x3 __int64 v32; // x5 __int64 v33; // x0 __int64 v34; // x4 cocos2d::CCString *v35; // x0 const char *CString; // x0 size_t v37; // x0 GameLevelManager *v38; // x0 unsigned int *v39; // x0 unsigned int DailyID; // w0 cocos2d::CCString *v41; // x0 size_t v42; // x0 cocos2d::CCString *v43; // x0 __int64 v44; // x20 __int64 v46; // x2 cocos2d::CCString *v47; // x0 unsigned int *v48; // x0 char *v51; // [xsp+D8h] [xbp+58h] char *v52; // [xsp+D8h] [xbp+58h] int v53; // [xsp+ECh] [xbp+6Ch] BYREF __int64 v54[2]; // [xsp+F0h] [xbp+70h] BYREF void *v55; // [xsp+100h] [xbp+80h] v25 = a6; v26 = a7; v27 = a8; if ( a1 != 14 ) { v28 = (GameLevelManager *)GameLevelManager::vaultTimedType(a1, &v53); v29 = (unsigned __int8)v28; v30 = a3; v31 = a4; if ( (_BYTE)v28 ) { v48 = (unsigned int *)GameLevelManager::sharedState(v28); ActiveDailyID = GameLevelManager::getActiveDailyID(v48, v53); v31 = a4; v30 = a3; v32 = a2 + 1; if ( (*(_BYTE *)a2 & 1) == 0 ) goto LABEL_5; } else { v32 = a2 + 1; if ( (*(_BYTE *)a2 & 1) == 0 ) { LABEL_5: v33 = v30 + 1; if ( (*(_BYTE *)v30 & 1) != 0 ) v33 = *(_QWORD *)(v30 + 16); v34 = v31 + 1; if ( (*(_BYTE *)v31 & 1) != 0 ) v34 = *(_QWORD *)(v31 + 16); v35 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i_%s_%s_%s_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i_%i", (const char *)a1, v32, v33, v34, a5, v25, v26, v27, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, ActiveDailyID, a22); CString = (const char *)cocos2d::CCString::getCString(v35); v54[0] = 0; v51 = (char *)CString; v54[1] = 0; v55 = nullptr; v37 = strlen(CString); v38 = (GameLevelManager *)std::string::__init(v54, v51, v37); if ( v29 ) { v39 = (unsigned int *)GameLevelManager::sharedState(v38); DailyID = GameLevelManager::getDailyID(v39, v53); v41 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"_%i", (const char *)DailyID); v52 = (char *)cocos2d::CCString::getCString(v41); v42 = strlen(v52); std::string::append((__int64)v54, v52, v42); } v43 = (cocos2d::CCString *)cocos2d::CCString::create(v54); v44 = cocos2d::CCString::getCString(v43); if ( (v54[0] & 1) != 0 ) operator delete(v55); return v44; } } v32 = *(_QWORD *)(a2 + 16); goto LABEL_5; } v46 = a2 + 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v46 = *(_QWORD *)(a2 + 16); v47 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i_%s_%i", &byte_9[5], v46, a5); return cocos2d::CCString::getCString(v47); }
GD Web Decomp Icon

GD Web Decomp

Raw Source