// // EditorUI::createViewButton from 0xbfee44 to 0xbfefb0 (364 bytes) // // 23 xrefs: // > EditorUI::setupViewMenu @ 0xbff080 // > EditorUI::setupViewMenu @ 0xbff100 // > EditorUI::setupViewMenu @ 0xbff180 // > EditorUI::setupViewMenu @ 0xbff200 // > EditorUI::setupViewMenu @ 0xbff280 // > EditorUI::setupViewMenu @ 0xbff300 // > EditorUI::setupViewMenu @ 0xbff380 // > EditorUI::setupViewMenu @ 0xbff400 // > EditorUI::setupViewMenu @ 0xbff480 // > EditorUI::setupViewMenu @ 0xbff500 // > EditorUI::setupViewMenu @ 0xbff580 // > EditorUI::setupViewMenu @ 0xbff600 // > EditorUI::setupViewMenu @ 0xbff680 // > EditorUI::setupViewMenu @ 0xbff700 // > EditorUI::setupViewMenu @ 0xbff780 // > EditorUI::setupViewMenu @ 0xbff7fc // > EditorUI::setupViewMenu @ 0xbff87c // > EditorUI::setupViewMenu @ 0xbff8fc // > EditorUI::setupViewMenu @ 0xbff978 // > EditorUI::setupViewMenu @ 0xbff9f4 // > EditorUI::setupViewMenu @ 0xbffa70 // > EditorUI::setupViewMenu @ 0xbffaec // > @ 0x70ff0 // // 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:03:47 +0000 // __int64 __fastcall EditorUI::createViewButton( __int64 a1, __int64 a2, unsigned int a3, __int64 a4, cocos2d::CCPoint *a5, cocos2d::CCArray *a6, float a7) { cocos2d::CCSprite *v10; // x19 float *SpriteButton; // x19 __int64 v13; // x0 __int64 v14; // x1 __int64 *v16; // x0 unsigned int v17; // [xsp+5Ch] [xbp+5Ch] BYREF __int64 v18; // [xsp+60h] [xbp+60h] BYREF v17 = a3; v10 = (cocos2d::CCSprite *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v10 = *(cocos2d::CCSprite **)(a2 + 16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, a5); SpriteButton = EditorUI::getSpriteButton( a1, v10, (__int64)EditorUI::onViewButton, 0, 0, 4, (const cocos2d::CCPoint *)&v18, 0.9, 0.0); v13 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)SpriteButton + 1072LL))(SpriteButton); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v13 + 632) + 160LL))(*(_QWORD *)(v13 + 632), a7); (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)SpriteButton + 72LL))(SpriteButton, v17); v14 = *(_BYTE *)a4 >> 1; if ( (*(_BYTE *)a4 & 1) != 0 ) v14 = *(_QWORD *)(a4 + 8); if ( v14 ) { v16 = (__int64 *)std::unordered_map::operator[](a1 + 1392, (int *)&v17); if ( (__int64 *)a4 != v16 ) { if ( (*(_BYTE *)a4 & 1) != 0 ) std::string::assign(v16, *(const void **)(a4 + 16), *(_QWORD *)(a4 + 8)); else std::string::assign(v16, (const void *)(a4 + 1), *(_BYTE *)a4 >> 1); } } cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 1376), (cocos2d::CCObject *)SpriteButton, (int)v17); cocos2d::CCArray::addObject(a6, (cocos2d::CCObject *)SpriteButton); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source