// // DialogLayer::createDialogLayer from 0x1003c71a0 to 0x1003c72ca (298 bytes) // // 2 xrefs: // > DialogLayer::create @ 0x1003c7199 // > DialogLayer::createWithObjects @ 0x1003c72ec // // 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 // DialogLayer *__fastcall DialogLayer::createDialogLayer(DialogObject *a1, cocos2d::CCArray *a2, int a3) { char *v4; // rbx v4 = (char *)operator new(0x288u); cocos2d::CCLayerColor::CCLayerColor(v4); *(_QWORD *)v4 = off_10092E370; *((_QWORD *)v4 + 40) = off_10092E890; *((_QWORD *)v4 + 41) = &off_10092E900; *((_QWORD *)v4 + 42) = off_10092E918; *((_QWORD *)v4 + 43) = off_10092E938; *((_QWORD *)v4 + 44) = off_10092E958; *((_QWORD *)v4 + 51) = off_10092E980; *((_QWORD *)v4 + 54) = off_10092EA00; *((_QWORD *)v4 + 68) = &off_10092EA20; *((_DWORD *)v4 + 138) = 0; *(_OWORD *)(v4 + 568) = 0; *(_OWORD *)(v4 + 584) = 0; *((_DWORD *)v4 + 150) = -1; *((_WORD *)v4 + 308) = 0; *((_QWORD *)v4 + 78) = 0; v4[632] = 0; *((_DWORD *)v4 + 159) = 1; v4[640] = 0; if ( DialogLayer::init((DialogLayer *)v4, a1, a2, a3) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return (DialogLayer *)v4; }