// // GJBaseGameLayer::triggerMoveCommand from 0x9be188 to 0x9be410 (648 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x897f40 // > @ 0x65158 // // 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:58:28 +0000 // __int64 __fastcall GJBaseGameLayer::triggerMoveCommand(GJBaseGameLayer *this, EffectGameObject *a2) { unsigned int v4; // w24 unsigned int v5; // w26 float v6; // s1 unsigned int v7; // w23 unsigned int v8; // w25 float v9; // s8 float v10; // s9 const cocos2d::CCPoint *v11; // x1 int v12; // w0 __int64 v14; // x21 float v15; // [xsp+80h] [xbp+70h] BYREF float v16; // [xsp+84h] [xbp+74h] __int64 v17; // [xsp+88h] [xbp+78h] BYREF _BYTE v18[8]; // [xsp+90h] [xbp+80h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, (EffectGameObject *)((char *)a2 + 1488)); v4 = *((unsigned __int8 *)a2 + 1504); v5 = *((unsigned __int8 *)a2 + 1505); v6 = *((float *)a2 + 363); v7 = *((unsigned __int8 *)a2 + 1506); v8 = *((unsigned __int8 *)a2 + 1507); v9 = *((float *)a2 + 379); v10 = *((float *)a2 + 380); if ( v6 <= 1.0 ) v6 = 1.0; if ( (unsigned int)((int)(float)(v15 / v6) + 999999) <= 0x1E847E && (!*((_BYTE *)a2 + 1506) && !*((_BYTE *)a2 + 1504) || fabsf(v9) <= 99999.0) && (!*((_BYTE *)a2 + 1507) && !*((_BYTE *)a2 + 1505) || fabsf(v10) <= 99999.0) ) { if ( *((_BYTE *)a2 + 1536) ) { if ( *((_BYTE *)a2 + 1508) || *((_BYTE *)a2 + 1525) ) { GJBaseGameLayer::triggerDynamicMoveCommand(this, a2); return _stack_chk_guard; } } else if ( *((_BYTE *)a2 + 1508) || *((_BYTE *)a2 + 1525) ) { GJBaseGameLayer::getMoveTargetDelta( (cocos2d::CCDictionary **)this, a2, *((_BYTE *)this + 1979) ^ 1, (cocos2d::CCPoint *)v18); cocos2d::CCPoint::operator=(&v15, v18); if ( *((_BYTE *)a2 + 1525) ) { cocos2d::ccpNormalize(&v17, (cocos2d *)&v15, v11); cocos2d::CCPoint::operator*(&v17, *((float *)a2 + 383)); cocos2d::CCPoint::operator=(&v15, v18); } if ( *((_BYTE *)a2 + 1508) ) { v12 = *((_DWORD *)a2 + 378); v8 = 0; v7 = 0; v5 = 0; v4 = 0; if ( v12 == 1 ) { v16 = 0.0; } else if ( v12 == 2 ) { v15 = 0.0; } } else { v8 = 0; v7 = 0; v5 = 0; v4 = 0; } } if ( *((_BYTE *)a2 + 1537) ) { GJBaseGameLayer::moveObjectsSilent((GJEffectManager **)this, *((_DWORD *)a2 + 366), v15, v16); } else { v14 = *((_QWORD *)this + 269); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)&v15); GJEffectManager::createMoveCommand( v14, v18, *((unsigned int *)a2 + 366), *((unsigned int *)a2 + 374), v4, v5, v7, v8, *((float *)a2 + 363), *((float *)a2 + 375), v9, v10, *((_DWORD *)a2 + 229), *((_DWORD *)a2 + 418)); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source