// // LevelAreaInnerLayer::showFloor1CompleteDialog from 0x1402c75c0 to 0x1402c7b97 (1495 bytes) // // 2 xrefs: // > LevelAreaInnerLayer::init @ 0x1402c73cb // > @ 0x1406d2b88 // // 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 // // Hidden C++ exception states: #wind=2 void LevelAreaInnerLayer::showFloor1CompleteDialog(LevelAreaInnerLayer *a1) { GameManager *v2; // rcx __int64 v3; // rcx cocos2d::CCArray *v4; // rbx char *v5; // rax char *v6; // rax char *v7; // rax char *v8; // rax char *v9; // rax DialogLayer *DialogLayer; // rdi __int64 v11; // rcx __int64 v12; // rax DialogDelegate *v13; // rcx cocos2d::CCDirector *v14; // rax cocos2d::CCLayer_vtbl *v15; // rbx const cocos2d::CCPoint *v16; // rax __int128 v17; // [rsp+30h] [rbp-50h] BYREF __int64 v18; // [rsp+40h] [rbp-40h] __int64 v19; // [rsp+48h] [rbp-38h] __int128 v20; // [rsp+50h] [rbp-30h] BYREF __int64 v21; // [rsp+60h] [rbp-20h] __int64 v22; // [rsp+68h] [rbp-18h] void *v23; // [rsp+A8h] [rbp+28h] __int16 v24; // [rsp+B0h] [rbp+30h] BYREF char v25; // [rsp+B2h] [rbp+32h] v2 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v23 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v23); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v2 = (GameManager *)qword_1406C2ED8; } GameManager::setUGV(v2, "33", 1); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); v24 = -1; v25 = -1; v20 = 0; v21 = 0; v22 = 15; *(_QWORD *)&v20 = sub_14003AA10(0x40u); v21 = 59; v22 = 63; strcpy((char *)v20, "Where have you been?!\nI've been looking everywhere for you!"); v18 = 7; v19 = 15; v17 = 0x68637461726353uLL; v5 = DialogObject::create((__int64)&v17, (__int64)&v20, 14, 1.0, 0, (__int64)&v24); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v5); v24 = -1; v25 = -1; v20 = 0; v21 = 0; v22 = 15; *(_QWORD *)&v20 = sub_14003AA10(0x40u); v21 = 51; v22 = 63; strcpy((char *)v20, "You really shouldn't be poking around here."); v18 = 7; v19 = 15; v17 = 0x68637461726353uLL; v6 = DialogObject::create((__int64)&v17, (__int64)&v20, 11, 1.0, 0, (__int64)&v24); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v6); v24 = -1; v25 = -1; v20 = 0; v21 = 0; v22 = 15; *(_QWORD *)&v20 = sub_14003AA10(0x50u); v21 = 73; v22 = 79; strcpy((char *)v20, "Never know what you could find.\nOr who..."); v18 = 7; v19 = 15; v17 = 0x68637461726353uLL; v7 = DialogObject::create((__int64)&v17, (__int64)&v20, 13, 1.0, 0, (__int64)&v24); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v7); v24 = -1; v25 = -1; v20 = 0; v21 = 0; v22 = 15; *(_QWORD *)&v20 = sub_14003AA10(0x60u); v21 = 82; v22 = 95; strcpy((char *)v20, "... I thought this was a simple cube game."); v18 = 7; v19 = 15; v17 = 0x68637461726353uLL; v8 = DialogObject::create((__int64)&v17, (__int64)&v20, 26, 1.0, 0, (__int64)&v24); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v8); v24 = -1; v25 = -1; v18 = 15; v19 = 15; qmemcpy(&v17, "..", 14); HIWORD(v17) = (unsigned __int8)aD010D010[14]; v21 = 7; v22 = 15; v20 = 0x68637461726353uLL; v9 = DialogObject::create((__int64)&v20, (__int64)&v17, 8, 1.0, 0, (__int64)&v24); cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v9); DialogLayer = DialogLayer::createDialogLayer(nullptr, v4, 2); v12 = cocos2d::CCDirector::sharedDirector(v11); (*(void (__fastcall **)(_QWORD, DialogLayer *, __int64))(**(_QWORD **)(v12 + 264) + 440LL))( *(_QWORD *)(v12 + 264), DialogLayer, 1000); v13 = &a1->DialogDelegate; if ( !a1 ) v13 = nullptr; DialogLayer->m_delegate = v13; v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13); cocos2d::CCDirector::getWinSize(v14); v15 = DialogLayer->m_mainLayer->__vftable; cocos2d::CCPoint::CCPoint(8.3031437e-10, COERCE_FLOAT(&v17) * 0.5); v15->setPosition_0(DialogLayer->m_mainLayer, v16); DialogLayer::animateInRandomSide(DialogLayer); }
GD Web Decomp Icon

GD Web Decomp

Raw Source