// // SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim from 0x10003a444 to 0x10003a624 (480 bytes) // // 26 xrefs: // > SetupAreaAnimTriggerPopup::init @ 0x100038ed0 // > SetupAreaAnimTriggerPopup::init @ 0x100038f54 // > SetupAreaAnimTriggerPopup::init @ 0x100038fdc // > SetupAreaAnimTriggerPopup::init @ 0x100039064 // > SetupAreaAnimTriggerPopup::init @ 0x1000390f0 // > SetupAreaAnimTriggerPopup::init @ 0x10003917c // > SetupAreaAnimTriggerPopup::init @ 0x100039200 // > SetupAreaAnimTriggerPopup::init @ 0x100039284 // > SetupAreaAnimTriggerPopup::init @ 0x100039390 // > SetupAreaAnimTriggerPopup::init @ 0x100039644 // > SetupAreaAnimTriggerPopup::init @ 0x1000397e4 // > SetupAreaAnimTriggerPopup::init @ 0x10003986c // > SetupAreaAnimTriggerPopup::init @ 0x1000398f4 // > SetupAreaAnimTriggerPopup::init @ 0x10003997c // > SetupAreaAnimTriggerPopup::init @ 0x100039a04 // > SetupAreaAnimTriggerPopup::init @ 0x100039a8c // > SetupAreaAnimTriggerPopup::init @ 0x100039b10 // > SetupAreaAnimTriggerPopup::init @ 0x100039bd4 // > SetupAreaAnimTriggerPopup::init @ 0x100039c60 // > SetupAreaAnimTriggerPopup::init @ 0x100039cec // > SetupAreaAnimTriggerPopup::init @ 0x100039d78 // > SetupAreaAnimTriggerPopup::init @ 0x100039e8c // > SetupAreaAnimTriggerPopup::init @ 0x100039f18 // > SetupAreaAnimTriggerPopup::init @ 0x100039fa4 // > SetupAreaAnimTriggerPopup::init @ 0x10003a030 // > SetupAreaAnimTriggerPopup::init @ 0x10003a0bc // // 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 // void __fastcall SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim( SetupTriggerPopup *a1, __int64 a2, __int64 a3, __int64 *a4, __int64 a5, __int64 a6, __int64 a7, __int64 a8, float a9, float a10, float a11, int a12, int a13, unsigned int a14) { cocos2d::CCSprite *v24; // x24 CCMenuItemSpriteExtra *v25; // x24 __n128 v26; // q0 cocos2d::CCNode *m_buttonMenu; // x23 __n128 v28; // q1 __int128 v29; // [xsp+0h] [xbp-C0h] char v30; // [xsp+10h] [xbp-B0h] float32x2_t v31; // [xsp+18h] [xbp-A8h] BYREF float32x2_t v32; // [xsp+20h] [xbp-A0h] BYREF __int64 v33; // [xsp+28h] [xbp-98h] BYREF void *__p[2]; // [xsp+30h] [xbp-90h] BYREF __int64 v35; // [xsp+40h] [xbp-80h] cocos2d::CCPoint v36; // 0:kr00_8.8 cocos2d::SEL_MenuHandler v37; // 0:x3.16 if ( *(char *)(a3 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a3; v35 = *(_QWORD *)(a3 + 16); } sub_1000229B8(&v33, a4); v30 = 0; HIDWORD(v29) = 2; LODWORD(v29) = a12; *(_QWORD *)((char *)&v29 + 4) = __PAIR64__(a14, a13); SetupTriggerPopup::createValueControlAdvanced( a1, a2, __p, &v33, a5, a6, a7, a8, a9, a10, a11, v29, *((_QWORD *)&v29 + 1), v30); if ( SHIBYTE(v35) < 0 ) operator delete(__p[0]); v24 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_resetBtn_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, float))v24->setScale)(v24, 0.8); v37.ptr = (void (__cdecl *)(cocos2d::CCObject *))SetupAreaAnimTriggerPopup::onDeactivateAnimValue; v37.adj = 0; v25 = CCMenuItemSpriteExtra::create(v24, nullptr, a1, v37); ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v25->setTag)(v25, a2); v26 = ((__n128 (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)( a1->m_buttonMenu, v25); m_buttonMenu = a1->m_buttonMenu; v26.n128_u32[0] = 1120403456; v28.n128_u32[0] = 0; sub_100022980(v26, v28, &v31); sub_1000229DC((float32x2_t *)a4, &v31, &v32); v36 = cocos2d::CCNode::convertToNodeSpace(m_buttonMenu, (const cocos2d::CCPoint *)&v32); ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64 *, float, float))v25->setPosition)(v25, &v33, v36.x, v36.y); SetupTriggerPopup::addObjectToPage(a1, v25, a12); if ( a13 >= 1 ) SetupTriggerPopup::addObjectToGroup(a1, v25, a13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source