// // SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim from 0xa10340 to 0xa105c4 (644 bytes) // // 27 xrefs: // > SetupAreaAnimTriggerPopup::init @ 0xa10824 // > SetupAreaAnimTriggerPopup::init @ 0xa108b0 // > SetupAreaAnimTriggerPopup::init @ 0xa1093c // > SetupAreaAnimTriggerPopup::init @ 0xa109c0 // > SetupAreaAnimTriggerPopup::init @ 0xa10a4c // > SetupAreaAnimTriggerPopup::init @ 0xa10ad0 // > SetupAreaAnimTriggerPopup::init @ 0xa10b58 // > SetupAreaAnimTriggerPopup::init @ 0xa10bdc // > SetupAreaAnimTriggerPopup::init @ 0xa10cf4 // > SetupAreaAnimTriggerPopup::init @ 0xa10f4c // > SetupAreaAnimTriggerPopup::init @ 0xa10fec // > SetupAreaAnimTriggerPopup::init @ 0xa1106c // > SetupAreaAnimTriggerPopup::init @ 0xa110fc // > SetupAreaAnimTriggerPopup::init @ 0xa1117c // > SetupAreaAnimTriggerPopup::init @ 0xa11228 // > SetupAreaAnimTriggerPopup::init @ 0xa112a8 // > SetupAreaAnimTriggerPopup::init @ 0xa11358 // > SetupAreaAnimTriggerPopup::init @ 0xa113dc // > SetupAreaAnimTriggerPopup::init @ 0xa11470 // > SetupAreaAnimTriggerPopup::init @ 0xa114f4 // > SetupAreaAnimTriggerPopup::init @ 0xa11600 // > SetupAreaAnimTriggerPopup::init @ 0xa11688 // > SetupAreaAnimTriggerPopup::init @ 0xa1170c // > SetupAreaAnimTriggerPopup::init @ 0xa11794 // > SetupAreaAnimTriggerPopup::init @ 0xa11818 // > SetupAreaAnimTriggerPopup::init @ 0xa118e8 // > @ 0x4b900 // // 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 // __int64 __fastcall SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim( SetupTriggerPopup *a1, unsigned int a2, float a3, float a4, float a5, __int64 a6, const cocos2d::CCPoint *a7, unsigned __int8 a8, InputValueType a9, int a10, unsigned __int8 a11, int a12, int a13, int a14) { InputValueType v21; // w28 float v24; // s3 float v25; // s4 void *v26; // x0 cocos2d::CCSprite *v27; // x25 CCMenuItemSpriteExtra *v28; // x25 cocos2d::CCNode *m_buttonMenu; // x26 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x24 unsigned int *v32; // x2 int v33; // w1 cocos2d::CCPoint v34; // [xsp+C0h] [xbp+90h] BYREF cocos2d::CCPoint v35; // [xsp+C8h] [xbp+98h] BYREF cocos2d::CCPoint v36; // [xsp+D0h] [xbp+A0h] BYREF cocos2d::CCPoint v37; // 0:kr00_8.8 cocos2d::SEL_MenuHandler v38; // 0:x2.16 cocos2d::CCPoint v39; // 0:s0.4,4:s1.4 v21 = a8; sub_D18D28(&v35); cocos2d::CCPoint::CCPoint(&v36, a7); v39.x = a3; v39.y = a4; SetupTriggerPopup::createValueControlAdvanced( a1, a2, v39, a5, v24, v25, (std::string)&v35, &v36, v21, a9, a10, a11, a12, a13, a14, 2, 0); v26 = (void *)(*(_QWORD *)&v35 - 24LL); if ( (__int64 *)(*(_QWORD *)&v35 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v32 = (unsigned int *)(*(_QWORD *)&v35 - 8LL); do v33 = __ldaxr(v32); while ( __stlxr(v33 - 1, v32) ); } else { v33 = *(_DWORD *)(*(_QWORD *)&v35 - 8LL); *(_DWORD *)(*(_QWORD *)&v35 - 8LL) = v33 - 1; } if ( v33 <= 0 ) operator delete(v26); } v27 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_resetBtn_001.png"); v27->setScale(v27, 0.8); v38.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v38.adj = (size_t)SetupAreaAnimTriggerPopup::onDeactivateAnimValue; v28 = CCMenuItemSpriteExtra::create(v27, nullptr, v38); v28->setTag(v28, a2); a1->m_buttonMenu->addChild(a1->m_buttonMenu, v28); m_buttonMenu = a1->m_buttonMenu; setPosition = v28->setPosition; cocos2d::CCPoint::CCPoint(&v34, 100.0, 0.0); cocos2d::CCPoint::operator+(&v35, a7, &v34); v37 = cocos2d::CCNode::convertToNodeSpace(m_buttonMenu, &v35); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCPoint *, float, float))setPosition)(v28, &v36, v37.x, v37.y); SetupTriggerPopup::addObjectToPage(a1, v28, a12); if ( a13 > 0 ) SetupTriggerPopup::addObjectToGroup(a1, v28, a13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source