// // GJBaseGameLayer::pickupItem from 0x46f280 to 0x46f2dc (92 bytes) // // 3 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x31f6bc // > GJBaseGameLayer::collisionCheckObjects @ 0x492ae4 // > GJBaseGameLayer::collisionCheckObjects @ 0x492b3e // // 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 // void GJBaseGameLayer::pickupItem(GJBaseGameLayer *a1, EffectGameObject *a2) { cocos2d::CCDictionary *m_collectedItems; // r7 cocos2d::CCString *v4; // r0 char *CString; // r0 _BYTE v6[4]; // [sp+8h] [bp-Ch] BYREF m_collectedItems = a1->m_collectedItems; v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)a2->m_secretCoinID); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)v6, CString); cocos2d::CCDictionary::setObject((int)m_collectedItems, a2); sub_774008(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source