// // GJGarageLayer::showUnlockPopup from 0x50e900 to 0x50ebc2 (706 bytes) // // 1 xrefs: // > `non-virtual thunk to'GJGarageLayer::showUnlockPopup @ 0x50ec18 // // 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:30 +0000 // int __fastcall GJGarageLayer::showUnlockPopup(cocos2d::CCArray *a1, int a2, int a3) { cocos2d::CCArray *v5; // r7 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 cocos2d::CCObject *v8; // r0 cocos2d::CCObject *v9; // r0 cocos2d::CCObject *v10; // r0 cocos2d::CCObject *v11; // r0 int v12; // r2 int v13; // r6 int v14; // [sp+4h] [bp-24h] int v15; // [sp+4h] [bp-24h] int v16; // [sp+4h] [bp-24h] int v17; // [sp+4h] [bp-24h] int v18; // [sp+4h] [bp-24h] int v19; // [sp+4h] [bp-24h] int v20; // [sp+Ch] [bp-1Ch] BYREF int v21; // [sp+10h] [bp-18h] int v22; // [sp+14h] [bp-14h] int v23; // [sp+18h] [bp-10h] BYREF int v24; // [sp+1Ch] [bp-Ch] int v25; // [sp+20h] [bp-8h] if ( a3 != 1 || a2 != 13 ) return GJGarageLayer::showUnlockPopupNew((int)a1, a2, a3); v20 = 0; v21 = 0; v22 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1); std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "Hey, over here...", 0x11u); LOWORD(v14) = -1; BYTE2(v14) = -1; v6 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 10, 1061997773, 0, v14); cocos2d::CCArray::addObject(v5, v6); std::string::~string((int)&v23); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "I've been watching you, and you got some skills.", 0x30u); LOWORD(v15) = -1; BYTE2(v15) = -1; v7 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 13, 1065353216, 0, v15); cocos2d::CCArray::addObject(v5, v7); std::string::~string((int)&v23); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "Whatever you need, Scratch's got it.", 0x2Cu); LOWORD(v16) = -1; BYTE2(v16) = -1; v8 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 10, 1065353216, 0, v16); cocos2d::CCArray::addObject(v5, v8); std::string::~string((int)&v23); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "Here's a free sample. Come find me when you can.", 0x30u); LOWORD(v17) = -1; BYTE2(v17) = -1; v9 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 8, 1065353216, 0, v17); cocos2d::CCArray::addObject(v5, v9); std::string::~string((int)&v23); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "Did you hear something?", 0x17u); LOWORD(v18) = -1; BYTE2(v18) = -1; v10 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 9, 1065353216, 0, v18); cocos2d::CCArray::addObject(v5, v10); std::string::~string((int)&v23); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Scratch", 7u); v23 = 0; v24 = 0; v25 = 0; std::string::__init(&v23, "...", 0x15u); LOWORD(v19) = -1; BYTE2(v19) = -1; v11 = (cocos2d::CCObject *)DialogObject::create(&v20, &v23, 8, 1065353216, 0, v19); cocos2d::CCArray::addObject(v5, v11); std::string::~string((int)&v23); std::string::~string((int)&v20); v13 = DialogLayer::createWithObjects(v5, (cocos2d::CCArray *)((char *)&dword_0 + 2), v12); (*(void (__fastcall **)(cocos2d::CCArray *, int, int))(*(_DWORD *)a1 + 232))(a1, v13, 100); *(_DWORD *)(v13 + 488) = (char *)a1 + 332; DialogLayer::updateChatPlacement(v13, 0); return DialogLayer::animateIn(v13, 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source