// // GJSearchObject::create from 0x100560a00 to 0x100560cae (686 bytes) // // 5 xrefs: // > GJSearchObject::createFromKey @ 0x100539486 // > GJSearchObject::create_2 @ 0x100560d84 // > GJSearchObject::create_1 @ 0x100560e7f // > GJSearchObject::getPageObject @ 0x1005616f1 // > LevelSearchLayer::getSearchObject @ 0x10062c500 // // 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 // char *__fastcall GJSearchObject::create( int a1, __int128 *a2, __int128 *a3, std::string *a4, int a5, int a6, unsigned __int8 a7, unsigned __int8 a8, int a9, unsigned __int8 a10, unsigned __int8 a11, char a12, char a13, char a14, unsigned __int8 a15, unsigned __int8 a16, unsigned __int8 a17, char a18, unsigned __int8 a19, int a20, int a21, int a22) { char *v24; // rbx __int128 v25; // xmm0 std::string __str; // [rsp+0h] [rbp-90h] BYREF std::string v28; // [rsp+20h] [rbp-70h] BYREF std::string v29; // [rsp+40h] [rbp-50h] BYREF int v30; // [rsp+60h] [rbp-30h] int v31; // [rsp+64h] [rbp-2Ch] v30 = a6; v31 = a5; v24 = (char *)operator new(0x1B8u); cocos2d::CCNode::CCNode((__int64)v24); *(_QWORD *)v24 = off_100961D90; *((_DWORD *)v24 + 108) = 0; *(_QWORD *)&v25 = 0; *(_OWORD *)(v24 + 316) = 0; *(_OWORD *)(v24 + 332) = 0; *(_OWORD *)(v24 + 348) = 0; *(_OWORD *)(v24 + 364) = 0; *(_OWORD *)(v24 + 380) = 0; *((_WORD *)v24 + 198) = 0; *((_QWORD *)v24 + 50) = 0; *(_QWORD *)(v24 + 405) = 0; *((_QWORD *)v24 + 52) = 0; *(_QWORD *)(v24 + 423) = 0; if ( (*(_BYTE *)a2 & 1) == 0 ) { __str.__r_.__value_.__r.__words[2] = *((_QWORD *)a2 + 2); v25 = *a2; *(_OWORD *)&__str.__r_.__value_.__l.0 = *a2; if ( (*(_BYTE *)a3 & 1) != 0 ) goto LABEL_3; LABEL_6: v28.__r_.__value_.__r.__words[2] = *((_QWORD *)a3 + 2); v25 = *a3; *(_OWORD *)&v28.__r_.__value_.__l.0 = *a3; if ( (*(_BYTE *)&a4->__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_4; goto LABEL_7; } sub_100006B70(&__str, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), 0.0); if ( (*(_BYTE *)a3 & 1) == 0 ) goto LABEL_6; LABEL_3: sub_100006B70(&v28, *((const void **)a3 + 2), *((_QWORD *)a3 + 1), *(double *)&v25); if ( (*(_BYTE *)&a4->__r_.__value_.__s.0 & 1) == 0 ) { LABEL_4: v29 = *a4; goto LABEL_8; } LABEL_7: sub_100006B70(&v29, a4->__r_.__value_.__l.__data_, a4->__r_.__value_.__l.__size_, *(double *)&v25); LABEL_8: *((_DWORD *)v24 + 79) = a1; std::string::operator=((std::string *)(v24 + 320), &__str); std::string::operator=((std::string *)(v24 + 344), &v28); std::string::operator=((std::string *)(v24 + 368), &v29); *((_DWORD *)v24 + 98) = v31; v24[396] = v30; *((_DWORD *)v24 + 106) = a9; v24[428] = a12; v24[429] = a13; v24[397] = a14; v24[412] = a18; *(_QWORD *)(v24 + 404) = _mm_and_si128( _mm_shuffle_epi8( _mm_insert_epi8( _mm_insert_epi8( _mm_insert_epi8( _mm_insert_epi8( _mm_insert_epi8( _mm_insert_epi8(_mm_insert_epi8(_mm_cvtsi32_si128(a7), a19, 2), a8, 4), a10, 6), a11, 8), a15, 10), a16, 12), a17, 14), (__m128i)xmmword_10081E630), (__m128i)xmmword_10081E640).u64[0]; *((_DWORD *)v24 + 104) = a20; *((_DWORD *)v24 + 105) = a21; *((_DWORD *)v24 + 108) = a22; if ( (*(_BYTE *)&v29.__r_.__value_.__s.0 & 1) == 0 ) { if ( (*(_BYTE *)&v28.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_10; LABEL_14: operator delete(v28.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_12; goto LABEL_11; } operator delete(v29.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v28.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_14; LABEL_10: if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) LABEL_11: operator delete(__str.__r_.__value_.__l.__data_); LABEL_12: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v24); return v24; }
GD Web Decomp Icon

GD Web Decomp

Raw Source