// // SetupAnimSettingsPopup::init from 0x100061ec0 to 0x10006263b (1915 bytes) // // 1 xrefs: // > sub_100061DB0 @ 0x100061e74 // // 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 12:19:42 +0000 // __int64 __fastcall SetupAnimSettingsPopup::init(void *a1, __int64 a2, __int64 a3) { void *v3; // rbx __int64 result; // rax unsigned int v5; // r12d __int64 v6; // rax _QWORD v7[2]; // [rsp+40h] [rbp-180h] BYREF void *__p; // [rsp+50h] [rbp-170h] char v9; // [rsp+58h] [rbp-168h] BYREF char v10[15]; // [rsp+59h] [rbp-167h] BYREF void *v11; // [rsp+68h] [rbp-158h] char v12; // [rsp+70h] [rbp-150h] BYREF char v13[15]; // [rsp+71h] [rbp-14Fh] BYREF void *v14; // [rsp+80h] [rbp-140h] _QWORD v15[2]; // [rsp+88h] [rbp-138h] BYREF void *v16; // [rsp+98h] [rbp-128h] char v17; // [rsp+A0h] [rbp-120h] BYREF _BYTE v18[23]; // [rsp+A1h] [rbp-11Fh] BYREF void *v19[3]; // [rsp+B8h] [rbp-108h] BYREF float v20[2]; // [rsp+D0h] [rbp-F0h] BYREF _BYTE v21[8]; // [rsp+D8h] [rbp-E8h] BYREF char v22; // [rsp+E0h] [rbp-E0h] BYREF _BYTE v23[23]; // [rsp+E1h] [rbp-DFh] BYREF void *v24[3]; // [rsp+F8h] [rbp-C8h] BYREF void *v25[3]; // [rsp+110h] [rbp-B0h] BYREF char v26; // [rsp+128h] [rbp-98h] BYREF _BYTE v27[23]; // [rsp+129h] [rbp-97h] BYREF char v28; // [rsp+140h] [rbp-80h] BYREF char v29[15]; // [rsp+141h] [rbp-7Fh] BYREF void *v30; // [rsp+150h] [rbp-70h] char v31; // [rsp+158h] [rbp-68h] BYREF _BYTE v32[23]; // [rsp+159h] [rbp-67h] BYREF char v33; // [rsp+170h] [rbp-50h] BYREF _BYTE v34[23]; // [rsp+171h] [rbp-4Fh] BYREF _BYTE v35[8]; // [rsp+188h] [rbp-38h] BYREF _BYTE v36[8]; // [rsp+190h] [rbp-30h] BYREF _BYTE v37[40]; // [rsp+198h] [rbp-28h] BYREF v3 = a1; result = SetupTriggerPopup::init(a1, a2, a3, 1, 400.0, 240.0, 0.0); if ( (_BYTE)result ) { v5 = result; SetupTriggerPopup::preSetup(a1); __p = operator new(0x1Au); v7[0] = 27; v7[1] = 23; strcpy((char *)__p, "Edit Animation Settings"); SetupTriggerPopup::addTitle(a1, v7); if ( (v7[0] & 1) != 0 ) operator delete(__p); v9 = 4; strcpy(v10, "OK"); SetupTriggerPopup::addCloseButton(a1, &v9); if ( (v9 & 1) != 0 ) operator delete(v11); v12 = 8; strcpy(v13, "Help"); v16 = operator new(0x1C0u); v15[0] = 449; v15[1] = 446; strcpy( (char *)v16, "Disable Anim Shine removes the white flash at the start of the animation for some animated objects.\n" "Use Speed lets you set a custom animation speed.\n" "Use Animate On Trigger to toggle on with Animate trigger.\n" "Only If Active only does this if the object is active.\n" "Single Frame lets you select a specific frame of the animation.\n" "Offset Anim will offset the animation the value of single frame."); SetupTriggerPopup::addHelpButton(a1, &v12, v15, 1.0); if ( (v15[0] & 1) != 0 ) { a1 = v16; operator delete(v16); } if ( (v12 & 1) != 0 ) { a1 = v14; operator delete(v14); } v6 = cocos2d::CCDirector::sharedDirector(a1, &v12); cocos2d::CCDirector::getWinSize(v20, v6); sub_100278250(v21, v20[0] * 0.5, 0.5 * v20[1]); sub_100278250(v37, -40.0, 60.0); sub_100278350(v35, v21, v37); v22 = 30; strcpy(v23, "Randomize\nStart"); sub_100278250(v36, -125.0, 0.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 106, (unsigned int)&v22, (unsigned int)v37, 0, 0, 0); if ( (v22 & 1) != 0 ) operator delete(*(void **)&v23[15]); v17 = 18; strcpy(v18, "Use\nSpeed"); sub_100278250(v36, 0.0, 0.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 122, (unsigned int)&v17, (unsigned int)v37, 0, 0, 0); if ( (v17 & 1) != 0 ) operator delete(*(void **)&v18[15]); strcpy((char *)v24, "$Animate\non Trigger"); sub_100278250(v36, 125.0, 0.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 123, (unsigned int)v24, (unsigned int)v37, 0, 0, 0); if ( ((__int64)v24[0] & 1) != 0 ) operator delete(v24[2]); strcpy((char *)v25, "(Disable\ndelayed\nloop"); sub_100278250(v36, -125.0, -40.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 126, (unsigned int)v25, (unsigned int)v37, 0, 0, 0); if ( ((__int64)v25[0] & 1) != 0 ) operator delete(v25[2]); strcpy((char *)v19, "\"Disable\nAnimShine"); sub_100278250(v36, 0.0, -40.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 127, (unsigned int)v19, (unsigned int)v37, 0, 0, 0); if ( ((__int64)v19[0] & 1) != 0 ) operator delete(v19[2]); v26 = 28; strcpy(v27, "Only if\nactive"); sub_100278250(v36, 125.0, -40.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 214, (unsigned int)&v26, (unsigned int)v37, 0, 0, 0); if ( (v26 & 1) != 0 ) operator delete(*(void **)&v27[15]); v28 = 12; strcpy(v29, "Speed:"); sub_100278250(v36, -100.0, -30.0); sub_100278350(v37, v21, v36); SetupTriggerPopup::createValueControlAdvanced(v3, 107, &v28, v37, 0, 1, 0.80000001, -2.0, 2.0, 6, 0, 0, 0, 0, 2, 0); if ( (v28 & 1) != 0 ) operator delete(v30); v31 = 26; strcpy(v32, "Single Frame:"); sub_100278250(v36, 100.0, -45.0); sub_100278350(v37, v21, v36); SetupTriggerPopup::createValueControlAdvanced(v3, 462, &v31, v37, 1, 3, 0.80000001, 0.0, 20.0, 3, 1, 0, 0, 0, 2, 0); if ( (v31 & 1) != 0 ) operator delete(*(void **)&v32[15]); v33 = 22; strcpy(v34, "Offset\nAnim"); sub_100278250(v36, 125.0, -155.0); sub_100278350(v37, v35, v36); SetupTriggerPopup::createToggleValueControl((_DWORD)v3, 592, (unsigned int)&v33, (unsigned int)v37, 0, 0, 0); if ( (v33 & 1) != 0 ) operator delete(*(void **)&v34[15]); SetupTriggerPopup::postSetup(v3); return v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source