// // EffectGameObject::triggerObject from 0x897c84 to 0x898c90 (4108 bytes) // // 33 xrefs: // > TransformTriggerGameObject::triggerObject @ 0x898cb8 // > CameraTriggerGameObject::triggerObject @ 0x898d14 // > RandTriggerGameObject::triggerObject @ 0x898f24 // > CountTriggerGameObject::triggerObject @ 0x8990d0 // > TimerTriggerGameObject::triggerObject @ 0x899450 // > ItemTriggerGameObject::triggerObject @ 0x8994d0 // > @ 0xe2450 // > @ 0x14438f0 // > @ 0x1444100 // > @ 0x1444910 // > @ 0x1445120 // > @ 0x1445930 // > @ 0x1446140 // > @ 0x1446950 // > @ 0x1448960 // > @ 0x1449170 // > @ 0x144a1d0 // > @ 0x144a9e0 // > @ 0x144b1f0 // > @ 0x144ba00 // > @ 0x144c210 // > @ 0x144ca30 // > @ 0x144e260 // > @ 0x144ea70 // > @ 0x144f280 // > @ 0x1452af0 // > @ 0x1454b30 // > @ 0x1455340 // > @ 0x1456360 // > @ 0x1456b70 // > @ 0x1457380 // > @ 0x14583a0 // > @ 0x1458bb0 // // This function is hookable on this platform (idp: arm, 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:56:11 +0000 // __int64 __fastcall EffectGameObject::triggerObject( SFXTriggerGameObject *a1, GJEffectManager **this, int a3, const void **a4) { GameToolbox *v7; // x0 __int64 v9; // x0 unsigned int v10; // w26 unsigned int v11; // w25 void (__fastcall *v12)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD); // x24 int v13; // w1 __int64 v14; // x0 int v15; // w1 void (__fastcall *v16)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double); // x25 unsigned int v17; // w24 void *v18; // x0 int v19; // w24 void (__fastcall *v20)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double); // x25 float v21; // s0 float v22; // s1 unsigned int v23; // w24 __int64 v24; // x0 unsigned int v25; // w24 unsigned int v26; // w21 __int64 v27; // x25 unsigned int v28; // w25 void (__fastcall *v29)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double); // x24 __int64 v30; // x3 __int64 v31; // x24 __int64 v32; // x4 unsigned int v33; // w21 __int64 v34; // x5 __int64 v35; // x0 __int64 v36; // x26 unsigned int v37; // w25 unsigned int v38; // w24 __int64 v39; // x3 __int64 v40; // x4 unsigned int v41; // w21 __int64 v42; // x0 __int64 v43; // x2 __int64 v44; // x25 unsigned int v45; // w24 __int64 v46; // x3 __int64 v47; // x4 __int64 v48; // x5 __int64 v49; // x26 unsigned int v50; // w25 __int64 v51; // x3 unsigned int v52; // w24 unsigned int v53; // w21 int v54; // w0 float v55; // s0 __int64 v56; // [xsp+80h] [xbp+50h] __int64 v57; // [xsp+88h] [xbp+58h] __int64 v58; // [xsp+90h] [xbp+60h] __int64 v59; // [xsp+90h] [xbp+60h] __int64 v60; // [xsp+90h] [xbp+60h] __int64 v61; // [xsp+98h] [xbp+68h] __int64 v62; // [xsp+98h] [xbp+68h] __int64 v63; // [xsp+98h] [xbp+68h] __int64 v64; // [xsp+98h] [xbp+68h] void *v65; // [xsp+A0h] [xbp+70h] BYREF char *v66; // [xsp+A8h] [xbp+78h] __int64 v67; // [xsp+B0h] [xbp+80h] if ( *((_DWORD *)a1 + 230) == 30 ) { if ( *((_BYTE *)a1 + 1688) ) GJBaseGameLayer::collectedObject((GJBaseGameLayer *)this, a1); if ( *((_BYTE *)a1 + 1689) ) { v10 = *((_DWORD *)a1 + 366); v11 = *((unsigned __int8 *)a1 + 1637); v12 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD))*this + 155); if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } v12(this, v10, v11, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418)); if ( v65 ) { if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); operator delete(v65); } } v13 = *((_DWORD *)a1 + 424); if ( v13 ) GJBaseGameLayer::addPoints((GJBaseGameLayer *)this, v13); return _stack_chk_guard; } v7 = (GameToolbox *)*((unsigned int *)a1 + 257); if ( (_DWORD)v7 == 1931 ) { (*((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, _QWORD))*this + 159))( this, *((unsigned int *)a1 + 366), *((unsigned __int8 *)a1 + 1761), *((unsigned __int8 *)a1 + 1505)); return _stack_chk_guard; } if ( (int)v7 <= 1931 ) { if ( (_DWORD)v7 == 1007 ) { GJEffectManager::runOpacityActionOnGroup( *(this + 269), *((_DWORD *)a1 + 366), *((float *)a1 + 363), *((float *)a1 + 364), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); return _stack_chk_guard; } if ( (int)v7 > 1007 ) { if ( (_DWORD)v7 == 1613 ) { GJBaseGameLayer::togglePlayerVisibility((GJBaseGameLayer *)this, 1); return _stack_chk_guard; } if ( (int)v7 > 1613 ) { if ( (_DWORD)v7 == 1819 ) { if ( !*((_BYTE *)a1 + 649) ) { v35 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)a1 + 649)); PlayLayer::toggleBGEffectVisibility(*(_QWORD *)(v35 + 544), 0); } return _stack_chk_guard; } if ( (int)v7 > 1819 ) { if ( (_DWORD)v7 == 1913 ) { GJBaseGameLayer::updateZoom( (GJBaseGameLayer *)this, *((float *)a1 + 436), *((float *)a1 + 363), *((_DWORD *)a1 + 374), *((float *)a1 + 375), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); return _stack_chk_guard; } if ( (int)v7 <= 1913 ) { if ( (_DWORD)v7 != 1912 ) return _stack_chk_guard; v23 = (float)(GameToolbox::fast_rand_0_1(v7) * 100.0) > *((float *)a1 + 363) ? *((_DWORD *)a1 + 367) : *((_DWORD *)a1 + 366); if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJBaseGameLayer::spawnGroupTriggered( this, v23, 0, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418), 0.0); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v66 != v65 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } if ( (_DWORD)v7 != 1915 ) { if ( (_DWORD)v7 == 1917 ) (*((void (__fastcall **)(GJEffectManager **, SFXTriggerGameObject *))*this + 180))(this, a1); return _stack_chk_guard; } goto LABEL_191; } if ( (_DWORD)v7 == 1814 ) { GJEffectManager::createPlayerFollowCommand( *(this + 269), *((float *)a1 + 394), *((float *)a1 + 395), *((_DWORD *)a1 + 396), *((float *)a1 + 397), *((float *)a1 + 363), *((_DWORD *)a1 + 366), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); return _stack_chk_guard; } if ( (int)v7 <= 1814 ) { if ( (_DWORD)v7 != 1812 || *((_BYTE *)a1 + 649) ) return _stack_chk_guard; v24 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)a1 + 649)); v25 = *((_DWORD *)a1 + 366); v26 = *((unsigned __int8 *)a1 + 1637); v27 = *(_QWORD *)(*(_QWORD *)(v24 + 544) + 2152LL); if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJEffectManager::runDeathTrigger( v27, v25, v26, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418)); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); } else { if ( (_DWORD)v7 != 1815 ) { if ( (_DWORD)v7 == 1818 && !*((_BYTE *)a1 + 649) ) { v9 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)a1 + 649)); PlayLayer::toggleBGEffectVisibility(*(_QWORD *)(v9 + 544), 1u); } return _stack_chk_guard; } if ( !*((_BYTE *)a1 + 1686) ) { v43 = 10000; if ( !*((_BYTE *)a1 + 1684) ) { v43 = 10001; if ( !*((_BYTE *)a1 + 1685) ) v43 = *((unsigned int *)a1 + 420); } v44 = (__int64)*(this + 269); v45 = *((_DWORD *)a1 + 366); v46 = *((unsigned int *)a1 + 417); v47 = *((unsigned __int8 *)a1 + 1667); v48 = *((unsigned __int8 *)a1 + 1637); if ( a4 ) { v56 = *((unsigned __int8 *)a1 + 1637); v57 = *((unsigned __int8 *)a1 + 1667); v60 = *((unsigned int *)a1 + 417); v63 = v43; std::vector::vector((__int64 *)&v65, a4); v43 = v63; v46 = v60; v47 = v57; v48 = v56; } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJEffectManager::registerCollisionTrigger( v44, v45, v43, v46, v47, v48, &v65, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); if ( v65 ) { if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); operator delete(v65); } if ( *((_BYTE *)a1 + 1684) && *((_BYTE *)a1 + 1685) ) { v49 = (__int64)*(this + 269); v50 = *((_DWORD *)a1 + 366); v51 = *((unsigned int *)a1 + 417); v52 = *((unsigned __int8 *)a1 + 1667); v53 = *((unsigned __int8 *)a1 + 1637); if ( a4 ) { v64 = *((unsigned int *)a1 + 417); std::vector::vector((__int64 *)&v65, a4); v51 = v64; } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJEffectManager::registerCollisionTrigger( v49, v50, 10001, v51, v52, v53, &v65, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); v18 = v65; if ( v65 ) { if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } } return _stack_chk_guard; } v31 = (__int64)*(this + 269); v32 = *((unsigned __int8 *)a1 + 1667); v33 = *((_DWORD *)a1 + 366); v34 = *((unsigned __int8 *)a1 + 1637); if ( a4 ) { v58 = *((unsigned __int8 *)a1 + 1637); v61 = *((unsigned __int8 *)a1 + 1667); std::vector::vector((__int64 *)&v65, a4); v32 = v61; v34 = v58; } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJEffectManager::registerCollisionTrigger( v31, v33, 10000, 10001, v32, v34, &v65, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); } LABEL_254: operator delete(v18); return _stack_chk_guard; } if ( (_DWORD)v7 == 1347 ) { GJEffectManager::createFollowCommand( *(this + 269), *((float *)a1 + 392), *((float *)a1 + 393), *((float *)a1 + 363), *((_DWORD *)a1 + 366), *((_DWORD *)a1 + 367), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); return _stack_chk_guard; } if ( (int)v7 > 1347 ) { if ( (_DWORD)v7 == 1585 ) { GJBaseGameLayer::playAnimationCommand((GJBaseGameLayer *)this, *((_DWORD *)a1 + 413), *((_DWORD *)a1 + 366)); return _stack_chk_guard; } if ( (int)v7 <= 1585 ) { if ( (_DWORD)v7 == 1520 ) { v21 = *((float *)a1 + 363); if ( v21 > 0.0 ) { v22 = *((float *)a1 + 369); if ( v22 > 0.0 ) GJBaseGameLayer::shakeCamera((GJBaseGameLayer *)this, v21, v22, *((float *)a1 + 370)); } } return _stack_chk_guard; } if ( (_DWORD)v7 != 1595 ) { if ( (_DWORD)v7 == 1612 ) GJBaseGameLayer::togglePlayerVisibility((GJBaseGameLayer *)this, 0); return _stack_chk_guard; } v36 = (__int64)*(this + 269); v37 = *((_DWORD *)a1 + 366); v38 = *((unsigned __int8 *)a1 + 1638); v39 = *((unsigned int *)a1 + 410); v40 = *((unsigned int *)a1 + 411); v41 = *((unsigned __int8 *)a1 + 1648); if ( a4 ) { v59 = *((unsigned int *)a1 + 411); v62 = *((unsigned int *)a1 + 410); std::vector::vector((__int64 *)&v65, a4); v39 = v62; v40 = v59; } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJEffectManager::runTouchTriggerCommand( v36, v37, v38, v39, v40, v41, &v65, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v65 != v66 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } if ( (_DWORD)v7 != 1329 ) { if ( (int)v7 <= 1329 ) { if ( (_DWORD)v7 == 1049 ) GJBaseGameLayer::toggleGroup((GJBaseGameLayer *)this, *((_DWORD *)a1 + 366), *((_BYTE *)a1 + 1637)); return _stack_chk_guard; } if ( (_DWORD)v7 != 1334 ) { if ( (_DWORD)v7 == 1346 ) GJBaseGameLayer::triggerRotateCommand((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } v55 = 1.6; LABEL_207: GJBaseGameLayer::updateTimeMod((GJBaseGameLayer *)this, v55, 0, *((_BYTE *)a1 + 1044)); GameObject::playShineEffect(a1); (*((void (__fastcall **)(GJEffectManager **, SFXTriggerGameObject *))*this + 152))(this, a1); return _stack_chk_guard; } goto LABEL_125; } if ( (_DWORD)v7 != 105 ) { if ( (int)v7 <= 105 ) { if ( (int)v7 > 30 ) { if ( (_DWORD)v7 == 33 ) { if ( !*((_BYTE *)a1 + 649) ) { v42 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)a1 + 649)); PlayLayer::toggleGhostEffect(*(PlayLayer **)(v42 + 544), 0); } return _stack_chk_guard; } if ( (int)v7 <= 33 ) { if ( (_DWORD)v7 == 32 && !*((_BYTE *)a1 + 649) ) { v14 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)a1 + 649)); PlayLayer::toggleGhostEffect(*(PlayLayer **)(v14 + 544), 1); } return _stack_chk_guard; } if ( (unsigned int)((_DWORD)v7 - 55) > 4 ) return _stack_chk_guard; goto LABEL_191; } if ( (int)v7 < 29 ) { if ( (int)v7 < 22 ) return _stack_chk_guard; goto LABEL_191; } } else if ( (int)v7 <= 900 ) { if ( (int)v7 < 899 ) { if ( (int)v7 <= 203 ) { if ( (int)v7 >= 200 ) { if ( (_DWORD)v7 == 202 ) { v55 = 1.1; } else if ( (int)v7 <= 202 ) { if ( (_DWORD)v7 == 200 ) v55 = 0.7; else v55 = 0.9; } else { v55 = 1.3; } goto LABEL_207; } if ( (_DWORD)v7 != 142 ) return _stack_chk_guard; LABEL_125: v19 = *((_DWORD *)a1 + 366); if ( v19 <= 0 ) return _stack_chk_guard; v20 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))*this + 157); if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } v20(this, (unsigned int)v19, 0, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418), 0.0); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v66 != v65 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } if ( (_DWORD)v7 != 744 ) return _stack_chk_guard; } } else if ( (_DWORD)v7 != 915 ) { if ( (_DWORD)v7 == 1006 ) { if ( *((_DWORD *)a1 + 401) ) v30 = 1; else v30 = 2; GJEffectManager::runPulseEffect( *(this + 269), *((unsigned int *)a1 + 366), *((_DWORD *)a1 + 402) == 1, v30, *((_QWORD *)a1 + 181), *(_QWORD *)((char *)a1 + 1612), *(_QWORD *)((char *)a1 + 1620), *((unsigned int *)a1 + 407), *((_BYTE *)a1 + 1633), *((_BYTE *)a1 + 1634), *((_BYTE *)a1 + 1635), *((_BYTE *)a1 + 1636), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); } else if ( (_DWORD)v7 == 901 ) { GJBaseGameLayer::triggerMoveCommand((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } } (*((void (__fastcall **)(GJEffectManager **, char *, _QWORD, _QWORD, char *, _QWORD, _QWORD, SFXTriggerGameObject *, float, float, _DWORD, _DWORD))*this + 154))( this, (char *)a1 + 1448, *((unsigned int *)a1 + 256), *((unsigned __int8 *)a1 + 1487), (char *)a1 + 1612, *((unsigned int *)a1 + 407), *((unsigned __int8 *)a1 + 1632), a1, *((float *)a1 + 363), *((float *)a1 + 364), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); if ( *((_DWORD *)a1 + 257) == 29 && *((_BYTE *)a1 + 1484) ) (*((void (__fastcall **)(GJEffectManager **, char *, __int64, _QWORD, char *, _QWORD, _QWORD, SFXTriggerGameObject *, float, float, _DWORD, _DWORD))*this + 154))( this, (char *)a1 + 1448, 1001, 0, (char *)a1 + 1612, *((unsigned int *)a1 + 407), *((unsigned __int8 *)a1 + 1632), a1, *((float *)a1 + 363), 1.0, *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); return _stack_chk_guard; } if ( (_DWORD)v7 == 3016 ) { GJBaseGameLayer::triggerAdvancedFollowCommand((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } if ( (int)v7 <= 3016 ) { if ( (int)v7 > 2905 ) { if ( (int)v7 > 2924 ) { if ( (_DWORD)v7 == 2999 ) { GJBaseGameLayer::updateMGOffsetY( (GJBaseGameLayer *)this, *((float *)a1 + 373), *((float *)a1 + 363), *((_DWORD *)a1 + 374), *((float *)a1 + 375), *((_DWORD *)a1 + 229), *((_DWORD *)a1 + 418)); } else if ( (int)v7 >= 3006 ) { GJBaseGameLayer::triggerAreaEffect((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } if ( (int)v7 < 2919 && (_DWORD)v7 != 2907 && ((int)v7 < 2907 || (unsigned int)((_DWORD)v7 - 2909) > 8) ) return _stack_chk_guard; } else if ( (int)v7 < 2904 ) { if ( (_DWORD)v7 == 2066 ) { GJBaseGameLayer::triggerGravityChange((GJBaseGameLayer *)this, a1, a3); } else if ( (int)v7 <= 2066 ) { switch ( (_DWORD)v7 ) { case 0x78E: GJBaseGameLayer::activateSongTrigger((GJBaseGameLayer *)this, a1); break; case 0x78F: GJBaseGameLayer::queueTimeWarp((GJBaseGameLayer *)this, *((float *)a1 + 441)); break; case 0x78C: GJBaseGameLayer::activatePlayerControlTrigger((GJBaseGameLayer *)this, a1); break; } } else if ( (_DWORD)v7 == 2900 ) { (*((void (__fastcall **)(GJEffectManager **, SFXTriggerGameObject *))*this + 181))(this, a1); } else if ( (int)v7 <= 2900 ) { if ( (_DWORD)v7 == 2899 ) GJBaseGameLayer::processOptionsTrigger((GJBaseGameLayer *)this, a1); } else if ( (_DWORD)v7 == 2901 ) { if ( *((_DWORD *)a1 + 378) == 2 || (GJBaseGameLayer::updateGameplayOffsetX( (GJBaseGameLayer *)this, (int)*((float *)a1 + 372), *((_BYTE *)a1 + 1504)), *((_DWORD *)a1 + 378) != 1) ) { GJBaseGameLayer::updateGameplayOffsetY( (GJBaseGameLayer *)this, (int)*((float *)a1 + 373), *((_BYTE *)a1 + 1505)); } } else if ( (_DWORD)v7 == 2903 ) { GJBaseGameLayer::triggerGradientCommand((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } GJBaseGameLayer::triggerShaderCommand((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } if ( (_DWORD)v7 == 3606 ) { GJBaseGameLayer::updateBGArtSpeed((GJBaseGameLayer *)this, *((float *)a1 + 379), *((float *)a1 + 380)); return _stack_chk_guard; } if ( (int)v7 <= 3606 ) { if ( (_DWORD)v7 == 3024 ) { GJBaseGameLayer::controlAreaEffectWithID(this, *((unsigned int *)a1 + 366), 0xFFFFFFFFLL, 0); return _stack_chk_guard; } if ( (int)v7 > 3024 ) { if ( (_DWORD)v7 == 3602 ) { GJBaseGameLayer::activateSFXTrigger((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } if ( (int)v7 > 3602 ) { if ( (_DWORD)v7 == 3603 ) { GJBaseGameLayer::activateSFXEditTrigger((GJBaseGameLayer *)this, a1); } else if ( (_DWORD)v7 == 3605 ) { GJBaseGameLayer::activateSongEditTrigger((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } if ( (_DWORD)v7 != 3033 ) return _stack_chk_guard; if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } GJBaseGameLayer::playKeyframeAnimation(this, a1, &v65); v18 = v65; if ( !v65 ) return _stack_chk_guard; if ( v66 != v65 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } if ( (_DWORD)v7 == 3022 ) { GJBaseGameLayer::teleportPlayer((GJBaseGameLayer *)this, a1, nullptr); return _stack_chk_guard; } if ( (int)v7 > 3022 ) { GJBaseGameLayer::stopCustomEnterEffect((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } LABEL_191: GJBaseGameLayer::updateActiveEnterEffect((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } if ( (_DWORD)v7 == 3640 ) { v28 = *((_DWORD *)a1 + 366); v29 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))*this + 157); if ( a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } v29(this, v28, 0, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418), 0.0); if ( v65 ) { if ( v66 != v65 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); operator delete(v65); } GJBaseGameLayer::registerStateObject((GJBaseGameLayer *)this, a1); return _stack_chk_guard; } if ( (int)v7 > 3640 ) { if ( (int)v7 > 3661 ) { if ( (_DWORD)v7 == 3663 ) GJBaseGameLayer::activateProgressTrigger((GJBaseGameLayer *)this, a1); } else if ( (int)v7 >= 3660 ) { GJBaseGameLayer::triggerAdvancedFollowEditCommand((GJBaseGameLayer *)this, a1); } else if ( (_DWORD)v7 == 3655 ) { GJBaseGameLayer::activateObjectControlTrigger((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } if ( (_DWORD)v7 != 3609 ) { if ( (int)v7 <= 3609 ) { if ( (_DWORD)v7 == 3608 ) GJBaseGameLayer::spawnParticleTrigger((GJBaseGameLayer *)this, a1); } else if ( (_DWORD)v7 == 3612 ) { GJBaseGameLayer::updateMGArtSpeed((GJBaseGameLayer *)this, *((float *)a1 + 379), *((float *)a1 + 380)); } else if ( (_DWORD)v7 == 3618 ) { GJBaseGameLayer::activateResetTrigger((GJBaseGameLayer *)this, a1); } return _stack_chk_guard; } if ( *((_BYTE *)a1 + 1686) ) { v54 = (unsigned __int8)GJBaseGameLayer::checkCollision((GJBaseGameLayer *)this, 10000, 10001); goto LABEL_263; } v15 = 10000; if ( !*((_BYTE *)a1 + 1684) ) { v15 = 10001; if ( !*((_BYTE *)a1 + 1685) ) v15 = *((_DWORD *)a1 + 420); } if ( (unsigned __int8)GJBaseGameLayer::checkCollision((GJBaseGameLayer *)this, v15, *((_DWORD *)a1 + 417)) ) { v17 = *((_DWORD *)a1 + 366); v16 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))*this + 157); goto LABEL_87; } if ( *((_BYTE *)a1 + 1684) && *((_BYTE *)a1 + 1685) ) { v54 = (unsigned __int8)GJBaseGameLayer::checkCollision((GJBaseGameLayer *)this, 10001, *((_DWORD *)a1 + 417)); LABEL_263: v16 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))*this + 157); if ( v54 ) { v17 = *((_DWORD *)a1 + 366); goto LABEL_87; } goto LABEL_86; } v16 = *((void (__fastcall **)(GJEffectManager **, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))*this + 157); LABEL_86: v17 = *((_DWORD *)a1 + 367); LABEL_87: if ( *((_BYTE *)a1 + 1798) && a4 ) { std::vector::vector((__int64 *)&v65, a4); } else { v65 = nullptr; v66 = nullptr; v67 = 0; } v16(this, v17, 0, &v65, *((unsigned int *)a1 + 229), *((unsigned int *)a1 + 418), 0.0); v18 = v65; if ( v65 ) { if ( v66 != v65 ) v66 += 4 * ~((unsigned __int64)(v66 - 4 - (_BYTE *)v65) >> 2); goto LABEL_254; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source