// // SetupTriggerPopup::createPlusButton from 0x14060eb30 to 0x14060ec8a (346 bytes) // // 5 xrefs: // > SetupRotateGameplayPopup::init @ 0x1405d6d3c // > SetupSFXPopup::init @ 0x1405dcf3b // > SetupSFXPopup::init @ 0x1405dd437 // > SetupSFXPopup::init @ 0x1405dd4a8 // > @ 0x14092fee8 // // 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:35:15 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCObject *__fastcall SetupTriggerPopup::createPlusButton( __int64 a1, unsigned int a2, __int64 a3, __int64 a4, void **a5, unsigned int a6, int a7) { struct cocos2d::CCObject *GroupContainer; // r14 const char *v11; // rcx struct cocos2d::CCSprite *v12; // rax int v13; // ebx struct cocos2d::CCObject *v14; // rsi __int64 v15; // rbx __int64 v16; // rax struct cocos2d::CCObject *PageContainer; // [rsp+20h] [rbp-78h] _BYTE v19[8]; // [rsp+28h] [rbp-70h] BYREF void **v20; // [rsp+30h] [rbp-68h] v20 = a5; PageContainer = SetupTriggerPopup::getPageContainer(a1, a6); GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a7); if ( !a5[2] ) sub_1400405A0(a5, "GJ_plus2Btn_001.png", 0x13u); v11 = (const char *)a5; if ( (unsigned __int64)a5[3] > 0xF ) v11 = (const char *)*a5; v12 = cocos2d::CCSprite::createWithSpriteFrameName(v11); v13 = (int)v12; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v12 + 160LL))(v12); v14 = CCMenuItemSpriteExtra::create(v13, 0, a1, (__int64)sub_140615C34); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v14 + 64LL))(v14, a2); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v14); v15 = *(_QWORD *)v14; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v19, a3); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v15 + 184))(v14, v16); cocos2d::CCArray::addObject(PageContainer, v14); if ( a7 > 0 ) cocos2d::CCArray::addObject(GroupContainer, v14); sub_14003D310((__int64)a5); return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source