// // SetupTriggerPopup::createCustomToggleValueControl from 0x10023af40 to 0x10023b16f (559 bytes) // // 68 xrefs: // > SetupPickupTriggerPopup::init @ 0x100058ec2 // > SetupPickupTriggerPopup::init @ 0x100058f50 // > SetItemIDLayer::init @ 0x10009c5f7 // > SetItemIDLayer::init @ 0x10009c68e // > SetItemIDLayer::init @ 0x10009c746 // > SetItemIDLayer::init @ 0x10009c7d8 // > SetItemIDLayer::init @ 0x10009c874 // > CustomizeObjectSettingsPopup::init @ 0x1001f9a2b // > CustomizeObjectSettingsPopup::init @ 0x1001f9ab3 // > CustomizeObjectSettingsPopup::init @ 0x1001f9b3d // > SetupKeyframePopup::init @ 0x1002003b3 // > SetupKeyframePopup::init @ 0x100200446 // > SetupAdvFollowPopup::init @ 0x100305fa0 // > SetupAdvFollowPopup::init @ 0x10030602c // > SetupAdvFollowPopup::init @ 0x1003060b8 // > SetupStaticCameraPopup::init @ 0x10039b835 // > SetupStaticCameraPopup::init @ 0x10039b8d2 // > SetupTimerControlTriggerPopup::init @ 0x1003a226b // > SetupTimerControlTriggerPopup::init @ 0x1003a2303 // > SetupSequenceTriggerPopup::init @ 0x1004de2da // > SetupSequenceTriggerPopup::init @ 0x1004de371 // > SetupSequenceTriggerPopup::init @ 0x1004de403 // > SetupSequenceTriggerPopup::init @ 0x1004de4a9 // > SetupSequenceTriggerPopup::init @ 0x1004de547 // > SelectEventLayer::addToggle @ 0x100579ff2 // > UIObjectSettingsPopup::init @ 0x10057d306 // > UIObjectSettingsPopup::init @ 0x10057d3a5 // > UIObjectSettingsPopup::init @ 0x10057d43b // > UIObjectSettingsPopup::init @ 0x10057d4d3 // > UIObjectSettingsPopup::init @ 0x10057d699 // > UIObjectSettingsPopup::init @ 0x10057d735 // > UIObjectSettingsPopup::init @ 0x10057d7bf // > UIObjectSettingsPopup::init @ 0x10057d848 // > SetupItemEditTriggerPopup::init @ 0x10057e5c1 // > SetupItemEditTriggerPopup::init @ 0x10057e65e // > SetupItemEditTriggerPopup::init @ 0x10057e702 // > SetupItemEditTriggerPopup::init @ 0x10057e79d // > SetupItemEditTriggerPopup::init @ 0x10057e831 // > SetupItemEditTriggerPopup::init @ 0x10057e9b5 // > SetupItemEditTriggerPopup::init @ 0x10057ea4d // > SetupItemEditTriggerPopup::init @ 0x10057eaec // > SetupItemEditTriggerPopup::init @ 0x10057eb82 // > SetupItemEditTriggerPopup::init @ 0x10057ec11 // > SetupItemEditTriggerPopup::init @ 0x10057ee7c // > SetupItemEditTriggerPopup::init @ 0x10057ef19 // > SetupItemEditTriggerPopup::init @ 0x10057efba // > SetupItemCompareTriggerPopup::init @ 0x100580e88 // > SetupItemCompareTriggerPopup::init @ 0x100580f25 // > SetupItemCompareTriggerPopup::init @ 0x100580fc9 // > SetupItemCompareTriggerPopup::init @ 0x100581064 // > SetupItemCompareTriggerPopup::init @ 0x1005810f8 // > SetupItemCompareTriggerPopup::init @ 0x100581295 // > SetupItemCompareTriggerPopup::init @ 0x100581332 // > SetupItemCompareTriggerPopup::init @ 0x1005813d6 // > SetupItemCompareTriggerPopup::init @ 0x100581471 // > SetupItemCompareTriggerPopup::init @ 0x100581505 // > SetupStopTriggerPopup::init @ 0x1005865e5 // > SetupStopTriggerPopup::init @ 0x100586671 // > SetupStopTriggerPopup::init @ 0x1005866fa // > SetupRotatePopup::init @ 0x10059ce93 // > SetupRotatePopup::init @ 0x10059cf41 // > SetupRotatePopup::init @ 0x10059cfe6 // > SetupOptionsTriggerPopup::addOption @ 0x1005e77e5 // > SetupOptionsTriggerPopup::addOption @ 0x1005e7864 // > SetupMoveCommandPopup::init @ 0x1006080a3 // > SetupMoveCommandPopup::init @ 0x100608140 // > SetupGameplayOffsetPopup::init @ 0x100798c4f // > SetupGameplayOffsetPopup::init @ 0x100798cdb // // 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 SetupTriggerPopup::createCustomToggleValueControl( __int64 a1, __int64 a2, int a3, int a4, __int128 *a5, __int64 a6, char a7, unsigned int a8, unsigned int a9) { __int64 i; // rdi __int64 v12; // r14 __int64 v13; // rsi __int64 j; // rdi __int64 v15; // r14 float v16; // xmm1_4 double v17; // xmm0_8 __int64 v18; // r12 __int64 v19; // r13 cocos2d::CCObject *ToggleButton; // r13 _BYTE v22[8]; // [rsp+40h] [rbp-90h] BYREF _BYTE v23[8]; // [rsp+48h] [rbp-88h] BYREF __int64 v24; // [rsp+50h] [rbp-80h] __int64 v25; // [rsp+58h] [rbp-78h] __int64 v26; // [rsp+60h] [rbp-70h] __int64 v27; // [rsp+68h] [rbp-68h] __int128 v28; // [rsp+70h] [rbp-60h] BYREF void *__p; // [rsp+80h] [rbp-50h] _BYTE v30[8]; // [rsp+94h] [rbp-3Ch] BYREF int v31; // [rsp+9Ch] [rbp-34h] int v32; // [rsp+A0h] [rbp-30h] unsigned int v33; // [rsp+A4h] [rbp-2Ch] v24 = a6; v32 = a4; v31 = a3; v33 = a2; for ( i = *(_QWORD *)(a1 + 856); (unsigned int)sub_100720070(i) <= a8; i = *(_QWORD *)(a1 + 856) ) { v12 = *(_QWORD *)(a1 + 856); a2 = sub_10071F9E0(i, a2); sub_10071FCD0(v12, a2); } v13 = a8; v26 = sub_1007200C0(*(_QWORD *)(a1 + 856), a8); for ( j = *(_QWORD *)(a1 + 872); (unsigned int)sub_100720070(j) <= a9; j = *(_QWORD *)(a1 + 872) ) { v15 = *(_QWORD *)(a1 + 872); v13 = sub_10071F9E0(j, v13); sub_10071FCD0(v15, v13); } v27 = sub_1007200C0(*(_QWORD *)(a1 + 872), a9); if ( a7 ) { v16 = 4.0; v17 = 0.0; } else { *(_QWORD *)&v17 = 1090519040; v16 = 0.0; } sub_10028CBE0(v30, *(float *)&v17, v16); v18 = sub_10071F9E0(v30, a9); if ( (*(_BYTE *)a5 & 1) != 0 ) { sub_100006B70(&v28, *((const void **)a5 + 2), *((_QWORD *)a5 + 1), v17); } else { __p = *((void **)a5 + 2); v28 = *a5; } v25 = *(_QWORD *)(a1 + 544); sub_10028CC60(v23); v19 = *(_QWORD *)(a1 + 576); sub_10028CC60(v22); ToggleButton = (cocos2d::CCObject *)GameToolbox::createToggleButton( (unsigned int)&v28, 1457, 0, (unsigned __int8)v31, v25, (unsigned int)v23, a1, v19, (__int64)v22, (__int64)"bigFont.fnt", a7, 0, v18); if ( (v28 & 1) != 0 ) operator delete(__p); ((void (__fastcall *)(cocos2d::CCObject *, _QWORD, double, double, double))ToggleButton->setTag)( ToggleButton, v33, COERCE_DOUBLE(1060320051), COERCE_DOUBLE(1051931443), COERCE_DOUBLE(1121714176)); if ( (_BYTE)v32 ) BYTE1(ToggleButton[7].__vftable) = 1; cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 744), ToggleButton, (int)v33); sub_100720050(v26, v18); if ( (int)a9 > 0 ) sub_100720050(v27, v18); return v18; }
GD Web Decomp Icon

GD Web Decomp

Raw Source