// // GJBaseGameLayer::pickupItem from 0x59c074 to 0x59c0e0 (108 bytes) // // 3 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x411bb8 // > GJBaseGameLayer::collisionCheckObjects @ 0x5ba93c // > GJBaseGameLayer::collisionCheckObjects @ 0x5ba9a0 // // 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:53:13 +0000 // int __fastcall GJBaseGameLayer::pickupItem(GJBaseGameLayer *this, const char **a2, int a3, int a4) { int v5; // r7 cocos2d::CCString *v6; // r0 const char *CString; // r8 size_t v8; // r0 GJBaseGameLayer *v10; // [sp+0h] [bp-10h] BYREF const char **v11; // [sp+4h] [bp-Ch] int v12; // [sp+8h] [bp-8h] int v13; // [sp+Ch] [bp-4h] v10 = this; v11 = a2; v12 = a3; v13 = a4; v5 = *((_DWORD *)this + 2704); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2[402]); v10 = nullptr; v11 = nullptr; v12 = 0; CString = (const char *)cocos2d::CCString::getCString(v6); v8 = strlen(CString); std::string::__init((int *)&v10, CString, v8); cocos2d::CCDictionary::setObject(v5, (cocos2d::CCObject *)a2); return std::string::~string((int)&v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source