// // EditorUI::createViewButton from 0x1401f7f60 to 0x1401f80e6 (390 bytes) // // 23 xrefs: // > EditorUI::setupViewMenu @ 0x1401f6fa9 // > EditorUI::setupViewMenu @ 0x1401f7058 // > EditorUI::setupViewMenu @ 0x1401f7112 // > EditorUI::setupViewMenu @ 0x1401f71c9 // > EditorUI::setupViewMenu @ 0x1401f728a // > EditorUI::setupViewMenu @ 0x1401f7343 // > EditorUI::setupViewMenu @ 0x1401f7406 // > EditorUI::setupViewMenu @ 0x1401f74bc // > EditorUI::setupViewMenu @ 0x1401f757c // > EditorUI::setupViewMenu @ 0x1401f7627 // > EditorUI::setupViewMenu @ 0x1401f76df // > EditorUI::setupViewMenu @ 0x1401f7797 // > EditorUI::setupViewMenu @ 0x1401f785b // > EditorUI::setupViewMenu @ 0x1401f7920 // > EditorUI::setupViewMenu @ 0x1401f79ce // > EditorUI::setupViewMenu @ 0x1401f7a72 // > EditorUI::setupViewMenu @ 0x1401f7b34 // > EditorUI::setupViewMenu @ 0x1401f7bf4 // > EditorUI::setupViewMenu @ 0x1401f7cab // > EditorUI::setupViewMenu @ 0x1401f7d55 // > EditorUI::setupViewMenu @ 0x1401f7e0a // > EditorUI::setupViewMenu @ 0x1401f7eae // > @ 0x14091aad4 // // 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:28:10 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall EditorUI::createViewButton( __int64 a1, const char *a2, int a3, void **a4, const struct cocos2d::CCPoint *a5, int a6, cocos2d::CCArray *a7) { const char *v10; // rdi const struct cocos2d::CCPoint *v11; // rax const struct cocos2d::CCPoint *v12; // rbx struct cocos2d::CCSprite *v13; // rdi const struct cocos2d::CCPoint *v14; // rax struct cocos2d::CCObject *SpriteButton; // rbx __int64 v16; // rax void **v17; // rcx void *v18; // rdx unsigned __int8 v19[8]; // [rsp+40h] [rbp-78h] BYREF _BYTE v20[8]; // [rsp+48h] [rbp-70h] BYREF _BYTE v21[8]; // [rsp+50h] [rbp-68h] BYREF _BYTE v22[16]; // [rsp+58h] [rbp-60h] BYREF const char *v23; // [rsp+68h] [rbp-50h] void **v24; // [rsp+70h] [rbp-48h] v23 = a2; *(_DWORD *)v19 = a3; v24 = a4; v10 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v10 = *(const char **)a2; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, a5); v12 = v11; v13 = cocos2d::CCSprite::createWithSpriteFrameName(v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v21, v12); SpriteButton = EditorUI::getSpriteButton( a1, (__int64)v13, (__int64)EditorUI::onViewButton, 0, 1063675494, 4, v14, 0.0); v16 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)SpriteButton + 952LL))(SpriteButton); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v16 + 640) + 160LL))(*(_QWORD *)(v16 + 640)); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)SpriteButton + 64LL))( SpriteButton, *(unsigned int *)v19); if ( a4[2] ) { v17 = (void **)(*(_QWORD *)sub_140067D30(a1 + 1440, (__int64)v22, v19) + 24LL); if ( v17 != a4 ) { v18 = a4; if ( (unsigned __int64)a4[3] > 0xF ) v18 = *a4; sub_1400405A0(v17, v18, (size_t)a4[2]); } } cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 1424), SpriteButton, *(int *)v19); cocos2d::CCArray::addObject(a7, SpriteButton); sub_14003D310((__int64)a2); sub_14003D310((__int64)a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source