// // SecretLayer3::firstInteractionStep4 from 0xa8c770 to 0xa8cab8 (840 bytes) // // 3 xrefs: // > @ 0xf36d0 // > SecretLayer3::firstInteractionStep3 @ 0xa8b2d8 // > @ 0x1547608 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:00:38 +0000 // __int64 __fastcall SecretLayer3::firstInteractionStep4(SecretLayer3 *this) { cocos2d::CCArray *v2; // x22 cocos2d::CCObject *v3; // x0 cocos2d::CCObject *v4; // x0 cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x0 cocos2d::CCNode *v7; // x19 __int64 v9; // [xsp+58h] [xbp+58h] BYREF __int64 v10; // [xsp+60h] [xbp+60h] void *v11; // [xsp+68h] [xbp+68h] __int64 v12; // [xsp+70h] [xbp+70h] BYREF __int64 v13; // [xsp+78h] [xbp+78h] void *v14; // [xsp+80h] [xbp+80h] v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(_stack_chk_guard); v9 = 0; v10 = 0; v11 = nullptr; std::string::__init(&v9, "...", 3u); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "RubRub locked me in here, for no reason.", 0x30u); v3 = (cocos2d::CCObject *)DialogObject::create((char *)&v9, (char *)&v12, 15, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v3); if ( (v12 & 1) != 0 ) operator delete(v14); if ( (v9 & 1) != 0 ) operator delete(v11); v9 = 0; v10 = 0; v11 = nullptr; std::string::__init(&v9, "...", 3u); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "He said there would be chicken.", 0x1Fu); v4 = (cocos2d::CCObject *)DialogObject::create((char *)&v9, (char *)&v12, 15, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v4); if ( (v12 & 1) != 0 ) operator delete(v14); if ( (v9 & 1) != 0 ) operator delete(v11); v9 = 0; v10 = 0; v11 = nullptr; std::string::__init(&v9, "...", 3u); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "There was no chicken...", 0x1Fu); v5 = (cocos2d::CCObject *)DialogObject::create((char *)&v9, (char *)&v12, 15, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v5); if ( (v12 & 1) != 0 ) operator delete(v14); if ( (v9 & 1) != 0 ) operator delete(v11); v9 = 0; v10 = 0; v11 = nullptr; std::string::__init(&v9, "...", 3u); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "I cannot stay here any longer.\nYou must find a way to release me.", 0x4Fu); v6 = (cocos2d::CCObject *)DialogObject::create((char *)&v9, (char *)&v12, 15, 0, 0xFFFFFF, 0.9); cocos2d::CCArray::addObject(v2, v6); if ( (v12 & 1) != 0 ) operator delete(v14); if ( (v9 & 1) != 0 ) operator delete(v11); v7 = (cocos2d::CCNode *)DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)byte_4); (*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))(this, v7, 100); *((_QWORD *)v7 + 78) = (char *)this + 408; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v7 + 72LL))(v7, 2); DialogLayer::updateChatPlacement((__int64)v7, 1); DialogLayer::animateIn(v7, 1u); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source