// // GJHttpResult::create from 0x100522440 to 0x100522598 (344 bytes) // // 4 xrefs: // > GJAccountManager::handleItDelayed @ 0x10009e39d // > GameLevelManager::handleItDelayed @ 0x10051c41d // > MusicDownloadManager::handleItDelayed @ 0x10064a6cd // > GJMultiplayerManager::handleItDelayed @ 0x100738bad // // This function is hookable on this platform (idp: pc, 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:31:44 +0000 // char *__fastcall GJHttpResult::create(char a1, std::string *a2, std::string *a3, int a4) { char *v6; // rbx char v7; // r12 std::string __str; // [rsp+0h] [rbp-60h] BYREF std::string v10; // [rsp+20h] [rbp-40h] BYREF v6 = (char *)operator new(0x178u); cocos2d::CCNode::CCNode((__int64)v6); *(_QWORD *)v6 = off_100B6F360; v6[314] = 0; *((_OWORD *)v6 + 20) = 0; *((_OWORD *)v6 + 21) = 0; *((_OWORD *)v6 + 22) = 0; *((_DWORD *)v6 + 92) = 0; if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30(&__str, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_); if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_3; } else { __str = *a2; if ( (*(_BYTE *)&a3->__r_.__value_.__s.0 & 1) != 0 ) { LABEL_3: sub_10001AD30(&v10, a3->__r_.__value_.__l.__data_, a3->__r_.__value_.__l.__size_); goto LABEL_6; } } v10 = *a3; LABEL_6: v7 = cocos2d::CCNode::init(); if ( v7 ) { v6[314] = a1; std::string::operator=((std::string *)(v6 + 320), &__str); std::string::operator=((std::string *)(v6 + 344), &v10); *((_DWORD *)v6 + 92) = a4; } if ( (*(_BYTE *)&v10.__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 ( v7 ) goto LABEL_11; LABEL_14: (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6); return nullptr; } operator delete(v10.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_13; LABEL_10: if ( !v7 ) goto LABEL_14; LABEL_11: cocos2d::CCObject::autorelease((__int64)v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source