// // GJHttpResult::create from 0x10051e0c0 to 0x10051e218 (344 bytes) // // 4 xrefs: // > GJAccountManager::handleItDelayed @ 0x1000cfdfd // > GameLevelManager::handleItDelayed @ 0x10051dffd // > MusicDownloadManager::handleItDelayed @ 0x10058a7ad // > GJMultiplayerManager::handleItDelayed @ 0x10065954d // // 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 GJHttpResult::create(char a1, __int128 *a2, std::string *a3, int a4) { char *v6; // rbx __int128 v7; // xmm0 bool v8; // r12 std::string __str; // [rsp+0h] [rbp-60h] BYREF std::string v11; // [rsp+20h] [rbp-40h] BYREF v6 = (char *)operator new(0x178u); cocos2d::CCNode::CCNode((__int64)v6); *(_QWORD *)v6 = off_100962490; v6[314] = 0; *(_QWORD *)&v7 = 0; *((_OWORD *)v6 + 20) = 0; *((_OWORD *)v6 + 21) = 0; *((_OWORD *)v6 + 22) = 0; *((_DWORD *)v6 + 92) = 0; if ( (*(_BYTE *)a2 & 1) != 0 ) { sub_100006B70(&__str, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), 0.0); if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_3; } else { __str.__r_.__value_.__r.__words[2] = *((_QWORD *)a2 + 2); v7 = *a2; *(_OWORD *)&__str.__r_.__value_.__l.0 = *a2; if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) { LABEL_3: sub_100006B70(&v11, a3->__r_.__value_.__l.__data_, a3->__r_.__value_.__l.__size_, *(double *)&v7); goto LABEL_6; } } v11 = *a3; LABEL_6: v8 = cocos2d::CCNode::init((cocos2d::CCNode *)v6); if ( v8 ) { v6[314] = a1; std::string::operator=((std::string *)(v6 + 320), &__str); std::string::operator=((std::string *)(v6 + 344), &v11); *((_DWORD *)v6 + 92) = a4; } if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) == 0 ) { if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_10; LABEL_13: operator delete(__str.__r_.__value_.__l.__data_); if ( v8 ) goto LABEL_11; LABEL_14: (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6); return nullptr; } operator delete(v11.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_13; LABEL_10: if ( !v8 ) goto LABEL_14; LABEL_11: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source