// // GJSearchObject::createFromKey from 0x8189fc to 0x818f64 (1384 bytes) // // 2 xrefs: // > GameLevelManager::getSearchScene @ 0x818f70 // > @ 0x81688 // // 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:54:57 +0000 // __int64 __fastcall GJSearchObject::createFromKey(GJSearchObject *this, const char *a2) { size_t v2; // x0 cocos2d::CCArray *v3; // x20 cocos2d::CCString *v4; // x0 int v5; // w27 cocos2d::CCString *v6; // x0 const char *CString; // x0 size_t v8; // x0 cocos2d::CCString *v9; // x0 size_t v10; // x0 cocos2d::CCString *v11; // x0 size_t v12; // x0 cocos2d::CCString *v13; // x0 cocos2d::CCString *v14; // x0 cocos2d::CCString *v15; // x0 cocos2d::CCString *v16; // x0 cocos2d::CCString *v17; // x0 int v18; // w28 cocos2d::CCString *v19; // x0 char v20; // w26 cocos2d::CCString *v21; // x0 char v22; // w25 cocos2d::CCString *v23; // x0 cocos2d::CCString *v24; // x0 cocos2d::CCString *v25; // x0 cocos2d::CCString *v26; // x0 cocos2d::CCString *v27; // x0 cocos2d::CCString *v28; // x0 cocos2d::CCString *v29; // x0 cocos2d::CCString *v30; // x0 cocos2d::CCString *v31; // x0 cocos2d::CCString *v32; // x0 cocos2d::CCString *v33; // x0 __int64 v34; // x19 char v36; // [xsp+D1h] [xbp+61h] char v37; // [xsp+D2h] [xbp+62h] char v38; // [xsp+D3h] [xbp+63h] char v39; // [xsp+D4h] [xbp+64h] char v40; // [xsp+D5h] [xbp+65h] char v41; // [xsp+D6h] [xbp+66h] char v42; // [xsp+D7h] [xbp+67h] char v43; // [xsp+D8h] [xbp+68h] char v44; // [xsp+D9h] [xbp+69h] char v45; // [xsp+DAh] [xbp+6Ah] char v46; // [xsp+DBh] [xbp+6Bh] int v47; // [xsp+DCh] [xbp+6Ch] int v48; // [xsp+E0h] [xbp+70h] int v49; // [xsp+E4h] [xbp+74h] char *v51; // [xsp+E8h] [xbp+78h] char *v52; // [xsp+E8h] [xbp+78h] char *v53; // [xsp+E8h] [xbp+78h] int v54; // [xsp+E8h] [xbp+78h] __int64 v55; // [xsp+F8h] [xbp+88h] BYREF size_t v56; // [xsp+100h] [xbp+90h] void *v57; // [xsp+108h] [xbp+98h] __int64 v58; // [xsp+110h] [xbp+A0h] BYREF size_t v59; // [xsp+118h] [xbp+A8h] void *v60; // [xsp+120h] [xbp+B0h] __int64 v61; // [xsp+128h] [xbp+B8h] BYREF size_t v62; // [xsp+130h] [xbp+C0h] void *v63; // [xsp+138h] [xbp+C8h] __int64 v64; // [xsp+140h] [xbp+D0h] BYREF size_t v65; // [xsp+148h] [xbp+D8h] void *v66; // [xsp+150h] [xbp+E0h] __int64 v67; // [xsp+158h] [xbp+E8h] BYREF size_t v68; // [xsp+160h] [xbp+F0h] void *v69; // [xsp+168h] [xbp+F8h] __int64 v70; // [xsp+170h] [xbp+100h] BYREF size_t v71; // [xsp+178h] [xbp+108h] void *v72; // [xsp+180h] [xbp+110h] v70 = 0; v71 = 0; v72 = nullptr; v2 = strlen((const char *)this); std::string::__init(&v70, this, v2); v3 = sub_80CFCC((unsigned __int8 *)&v70, &byte_11528B0); if ( (v70 & 1) != 0 ) { operator delete(v72); if ( (unsigned int)cocos2d::CCArray::count(v3) > 0x11 ) goto LABEL_3; return 0; } if ( (unsigned int)cocos2d::CCArray::count(v3) <= 0x11 ) return 0; LABEL_3: v4 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 0); v5 = cocos2d::CCString::intValue(v4); v6 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 1u); CString = (const char *)cocos2d::CCString::getCString(v6); v55 = 0; v51 = (char *)CString; v56 = 0; v57 = nullptr; v8 = strlen(CString); std::string::__init(&v55, v51, v8); v9 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 2u); v52 = (char *)cocos2d::CCString::getCString(v9); v58 = 0; v59 = 0; v60 = nullptr; v10 = strlen(v52); std::string::__init(&v58, v52, v10); v11 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 3u); v53 = (char *)cocos2d::CCString::getCString(v11); v61 = 0; v62 = 0; v63 = nullptr; v12 = strlen(v53); std::string::__init(&v61, v53, v12); v13 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 4u); v54 = cocos2d::CCString::intValue(v13); v14 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 5u); v46 = cocos2d::CCString::boolValue(v14); v15 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 6u); v45 = cocos2d::CCString::boolValue(v15); v16 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 7u); v44 = cocos2d::CCString::boolValue(v16); v17 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 8u); v18 = cocos2d::CCString::intValue(v17); v19 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 9u); v20 = cocos2d::CCString::boolValue(v19); v21 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 0xAu); v22 = cocos2d::CCString::boolValue(v21); v23 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 0xBu); v43 = cocos2d::CCString::boolValue(v23); v24 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 0xCu); v42 = cocos2d::CCString::boolValue(v24); v25 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v3, 0xDu); v41 = cocos2d::CCString::boolValue(v25); v26 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0xEu); v40 = cocos2d::CCString::boolValue(v26); v27 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0xFu); v39 = cocos2d::CCString::boolValue(v27); v28 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x10u); v38 = cocos2d::CCString::boolValue(v28); v29 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x11u); v37 = cocos2d::CCString::boolValue(v29); v30 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x12u); v36 = cocos2d::CCString::boolValue(v30); v31 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x13u); v49 = cocos2d::CCString::intValue(v31); v32 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x14u); v48 = cocos2d::CCString::intValue(v32); v33 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v3, 0x15u); v47 = cocos2d::CCString::intValue(v33); v64 = 0; v65 = 0; v66 = nullptr; if ( (v55 & 1) != 0 ) { std::string::__init(&v64, v57, v56); } else { v66 = v57; v64 = v55; v65 = v56; } v67 = 0; v68 = 0; v69 = nullptr; if ( (v58 & 1) != 0 ) { std::string::__init(&v67, v60, v59); } else { v69 = v60; v67 = v58; v68 = v59; } v70 = 0; v71 = 0; v72 = nullptr; if ( (v61 & 1) != 0 ) { std::string::__init(&v70, v63, v62); } else { v72 = v63; v70 = v61; v71 = v62; } v34 = GJSearchObject::create( v5, (char *)&v64, (char *)&v67, (char *)&v70, v54, v46, v45, v44, v18, v20, v22, v43, v42, v41, v40, v39, v38, v37, v36, v49, v48, v47); if ( (v70 & 1) != 0 ) operator delete(v72); if ( (v67 & 1) != 0 ) operator delete(v69); if ( (v64 & 1) != 0 ) operator delete(v66); if ( (v61 & 1) != 0 ) operator delete(v63); if ( (v58 & 1) != 0 ) operator delete(v60); if ( (v55 & 1) != 0 ) operator delete(v57); return v34; }
GD Web Decomp Icon

GD Web Decomp

Raw Source