// // SetupTriggerPopup::addEasePreviewButton from 0x6795a4 to 0x6796c8 (292 bytes) // // 2 xrefs: // > SetupTriggerPopup::createEasingControls @ 0x67bafa // > SetupTriggerPopup::createCustomEasingControls @ 0x67c3b0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:55:57 +0000 // int __fastcall SetupTriggerPopup::addEasePreviewButton( cocos2d::CCArray **this, cocos2d::CCLabelBMFont *a2, float a3, int a4, int a5, unsigned int a6, int a7) { cocos2d::CCArray *PageContainer; // r9 cocos2d::CCArray *GroupContainer; // r8 const char *v13; // r1 int v14; // r4 cocos2d::CCObject *v15; // r4 const cocos2d::CCPoint *v16; // r7 float *v17; // r0 int result; // r0 void (__fastcall *v19)(cocos2d::CCObject *, _BYTE *); // [sp+8h] [bp-14h] int v20; // [sp+Ch] [bp-10h] _BYTE v21[8]; // [sp+14h] [bp-8h] BYREF int v22; // [sp+1Ch] [bp+0h] BYREF _BYTE v23[8]; // [sp+24h] [bp+8h] BYREF int (__fastcall *v24)(SetupTriggerPopup **, cocos2d::CCObject *); // [sp+2Ch] [bp+10h] int v25; // [sp+30h] [bp+14h] PageContainer = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(this, a6); GroupContainer = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(this, a7); v14 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn_001.png", v13); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v14 + 80))(v14, a3 * 0.45); v24 = SetupTriggerPopup::onEasePreview; v25 = 0; v15 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v14, 0, (int)this, (int)SetupTriggerPopup::onEasePreview, 0); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v15); v16 = *(this + 111); v19 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v15 + 92); v20 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)a2 + 96))(a2); v17 = (float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)a2 + 164))(a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v21, -(float)((float)((float)(*v17 * 0.5) + 8.0) * a3), a3 * -2.0); cocos2d::CCPoint::operator+(&v22, v20, v21); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v23, v16); v19(v15, v23); CCMenuItemSpriteExtra::setSizeMult((int)v15, 1.2); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v15 + 36))(v15, a4); *((_DWORD *)v15 + 96) = a5; result = cocos2d::CCArray::addObject(PageContainer, v15); if ( a7 > 0 ) return cocos2d::CCArray::addObject(GroupContainer, v15); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source