// // GJRewardItem::create from 0x51979c to 0x51982e (146 bytes) // // 2 xrefs: // > GameStatsManager::storeRewardState @ 0x519878 // > GJRewardItem::create @ 0x5198e0 // // 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 GJRewardItem::create(int a1, int a2, int a3) { cocos2d::CCObject *v6; // r4 int v7; // r6 int v8; // r3 int *v9; // r0 int v11[3]; // [sp+0h] [bp-14h] BYREF v6 = (cocos2d::CCObject *)operator new(0x48u); cocos2d::CCObject::CCObject(v6); *(_DWORD *)v6 = &off_CA8DC0; *((_DWORD *)v6 + 13) = 0; *((_DWORD *)v6 + 14) = 0; *((_DWORD *)v6 + 15) = 0; *((_DWORD *)v6 + 16) = 0; *((_BYTE *)v6 + 68) = 0; std::string::basic_string(v11, a3); v7 = GJRewardItem::init(v6, a1, a2, v11); std::string::~string((int)v11); if ( v7 ) { cocos2d::CCObject::autorelease(v6); } else { v8 = *(_DWORD *)v6; v9 = (int *)v6; v6 = nullptr; (*(void (__fastcall **)(int *))(v8 + 8))(v9); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source