// // GJChallengeItem::create from 0x519354 to 0x519408 (180 bytes) // // 2 xrefs: // > GJChallengeItem::create @ 0x51943e // > GJChallengeItem::createFromString @ 0x51dce0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:45 +0000 // cocos2d::CCObject *__fastcall GJChallengeItem::create(int a1, int a2, int a3, int a4, int a5) { cocos2d::CCObject *v9; // r4 int v10; // r6 int v11; // r3 int *v12; // r0 int v14[3]; // [sp+8h] [bp-14h] BYREF v9 = (cocos2d::CCObject *)operator new(0x74u); cocos2d::CCObject::CCObject(v9); *(_DWORD *)v9 = &off_CA8DF0; *((_DWORD *)v9 + 13) = 0; *((_DWORD *)v9 + 14) = 0; *((_DWORD *)v9 + 15) = 0; *((_DWORD *)v9 + 16) = 0; *((_DWORD *)v9 + 17) = 0; *((_DWORD *)v9 + 18) = 0; *((_DWORD *)v9 + 19) = 0; *((_DWORD *)v9 + 20) = 0; *((_DWORD *)v9 + 21) = 0; *((_DWORD *)v9 + 22) = 0; *((_DWORD *)v9 + 23) = 0; *((_BYTE *)v9 + 96) = 0; *((_DWORD *)v9 + 25) = 0; *((_DWORD *)v9 + 26) = 0; *((_DWORD *)v9 + 27) = 0; *((_DWORD *)v9 + 28) = 0; std::string::basic_string(v14, a5); v10 = GJChallengeItem::init(v9, a1, a2, a3, a4, (unsigned __int8 *)v14); std::string::~string((int)v14); if ( v10 ) { cocos2d::CCObject::autorelease(v9); } else { v11 = *(_DWORD *)v9; v12 = (int *)v9; v9 = nullptr; (*(void (__fastcall **)(int *))(v11 + 8))(v12); } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source