// // GJUnlockableItem::create from 0x516950 to 0x51699c (76 bytes) // // 4 xrefs: // > GameStatsManager::generateItemUnlockableData @ 0x52b7a2 // > GameStatsManager::generateItemUnlockableData @ 0x52b7ce // > GameStatsManager::generateItemUnlockableData @ 0x52b818 // > GameStatsManager::generateItemUnlockableData @ 0x52b83a // // 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:42 +0000 // int *__fastcall GJUnlockableItem::create(GJUnlockableItem *this) { int *v1; // r4 int v2; // r3 int *v3; // r0 v1 = (int *)operator new(0x34u); memset(v1, 0, 0x34u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v1); *v1 = (int)&off_CA8B68; if ( GJUnlockableItem::init((GJUnlockableItem *)v1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { v2 = *v1; v3 = v1; v1 = nullptr; (*(void (__fastcall **)(int *))(v2 + 8))(v3); } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source