// // GJChallengeItem::create from 0x1003403cc to 0x1003404a8 (220 bytes) // // 2 xrefs: // > GJChallengeItem::createFromString @ 0x100340354 // > GJChallengeItem::create_1 @ 0x100340504 // // 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 GJChallengeItem::create(int a1, int a2, int a3, int a4, __int64 a5) { char *v10; // x19 std::string __p; // [xsp+0h] [xbp-50h] BYREF v10 = (char *)operator new(0x88u); cocos2d::CCObject::CCObject((__int64)v10); *(_QWORD *)v10 = off_1007F0560; *((_DWORD *)v10 + 26) = 0; *((_QWORD *)v10 + 15) = 0; *((_QWORD *)v10 + 16) = 0; *((_QWORD *)v10 + 14) = 0; *(_OWORD *)(v10 + 56) = 0u; *(_OWORD *)(v10 + 72) = 0u; *(_OWORD *)(v10 + 85) = 0u; if ( *(char *)(a5 + 23) < 0 ) sub_1000097D0(&__p, *(void **)a5, *(_QWORD *)(a5 + 8)); else __p = *(std::string *)a5; GJChallengeItem::init((int)v10, a1, a2, a3, a4, &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source