// // LevelAreaInnerLayer::showFloor1CompleteDialog from 0x1403e0900 to 0x1403e0edc (1500 bytes) // // 2 xrefs: // > LevelAreaInnerLayer::init @ 0x1403e0703 // > @ 0x140924ddc // // This function is hookable on this platform (idp: pc, 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 11:31:41 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall LevelAreaInnerLayer::showFloor1CompleteDialog(__int64 a1) { __int64 v2; // rcx __int64 v3; // rcx cocos2d::CCArray *v4; // rbx void **v5; // rax void **v6; // rax void **v7; // rax void **v8; // rax void **v9; // rax cocos2d::CCLayerColor *DialogLayer; // rsi __int64 v11; // rcx __int64 v12; // rax __int64 v13; // rcx __int64 v14; // rax __int64 v15; // rdi __int64 v16; // rbx __int64 v17; // rax __int128 v19; // [rsp+30h] [rbp-50h] BYREF __int64 v20; // [rsp+40h] [rbp-40h] __int64 v21; // [rsp+48h] [rbp-38h] __int128 v22; // [rsp+50h] [rbp-30h] BYREF __int64 v23; // [rsp+60h] [rbp-20h] __int64 v24; // [rsp+68h] [rbp-18h] __int128 *v25; // [rsp+A8h] [rbp+28h] BYREF __int16 v26; // [rsp+B0h] [rbp+30h] BYREF char v27; // [rsp+B2h] [rbp+32h] v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v25 = (__int128 *)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v25); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } GameManager::setUGV(v2, &word_14075AA2C, 1u); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); v25 = &v22; v26 = -1; v27 = -1; v22 = 0; v23 = 0; v24 = 0; *(_QWORD *)&v22 = sub_14003D460(0x40u); v23 = 59; v24 = 63; strcpy((char *)v22, "Where have you been?!\nI've been looking everywhere for you!"); v20 = 7; v21 = 15; v19 = 0x68637461726353uLL; v5 = DialogObject::create((__int64)&v19, (__int64)&v22, 14, 1.0, 0, (__int64)&v26); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v5); v25 = &v22; v26 = -1; v27 = -1; v22 = 0; v23 = 0; v24 = 0; *(_QWORD *)&v22 = sub_14003D460(0x40u); v23 = 51; v24 = 63; strcpy((char *)v22, "You really shouldn't be poking around here."); v20 = 7; v21 = 15; v19 = 0x68637461726353uLL; v6 = DialogObject::create((__int64)&v19, (__int64)&v22, 11, 1.0, 0, (__int64)&v26); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v6); v25 = &v22; v26 = -1; v27 = -1; v22 = 0; v23 = 0; v24 = 0; *(_QWORD *)&v22 = sub_14003D460(0x50u); v23 = 73; v24 = 79; strcpy((char *)v22, "Never know what you could find.\nOr who..."); v20 = 7; v21 = 15; v19 = 0x68637461726353uLL; v7 = DialogObject::create((__int64)&v19, (__int64)&v22, 13, 1.0, 0, (__int64)&v26); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v7); v25 = &v22; v26 = -1; v27 = -1; v22 = 0; v23 = 0; v24 = 0; *(_QWORD *)&v22 = sub_14003D460(0x60u); v23 = 82; v24 = 95; strcpy((char *)v22, "... I thought this was a simple cube game."); v20 = 7; v21 = 15; v19 = 0x68637461726353uLL; v8 = DialogObject::create((__int64)&v19, (__int64)&v22, 26, 1.0, 0, (__int64)&v26); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v8); v25 = &v19; v26 = -1; v27 = -1; v20 = 15; v21 = 15; qmemcpy(&v19, "..", 14); HIWORD(v19) = (unsigned __int8)aD010D010[14]; v23 = 7; v24 = 15; v22 = 0x68637461726353uLL; v9 = DialogObject::create((__int64)&v22, (__int64)&v19, 8, 1.0, 0, (__int64)&v26); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v9); DialogLayer = DialogLayer::createDialogLayer(0, (__int64)v4, 2u); v12 = cocos2d::CCDirector::sharedDirector(v11); (*(void (__fastcall **)(_QWORD, cocos2d::CCLayerColor *, __int64))(**(_QWORD **)(v12 + 272) + 456LL))( *(_QWORD *)(v12 + 272), DialogLayer, 1000); v13 = a1 + 408; if ( !a1 ) v13 = 0; *((_QWORD *)DialogLayer + 78) = v13; v14 = cocos2d::CCDirector::sharedDirector(v13); cocos2d::CCDirector::getWinSize(v14, &v25); v15 = **((_QWORD **)DialogLayer + 70); v16 = *((_QWORD *)DialogLayer + 70); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v26, *(float *)&v25 * 0.5, *((float *)&v25 + 1) * 0.5); (*(void (__fastcall **)(__int64, __int64))(v15 + 184))(v16, v17); return DialogLayer::animateInRandomSide(DialogLayer); }
GD Web Decomp Icon

GD Web Decomp

Raw Source