// // GJBaseGameLayer::triggerMoveCommand from 0x5a213c to 0x5a231c (480 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x4f4a22 // // 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:53:17 +0000 // void __fastcall GJBaseGameLayer::triggerMoveCommand(GJBaseGameLayer *this, EffectGameObject *a2) { _DWORD *v4; // r9 float v5; // s14 int v6; // r7 float v7; // s16 int v8; // r11 int v9; // r2 float v10; // s17 int v11; // r5 int v12; // r3 int v13; // [sp+28h] [bp-2Ch] int v14; // [sp+2Ch] [bp-28h] float v15; // [sp+34h] [bp-20h] BYREF float v16; // [sp+38h] [bp-1Ch] _BYTE v17[8]; // [sp+3Ch] [bp-18h] BYREF _BYTE v18[8]; // [sp+44h] [bp-10h] BYREF v4 = (_DWORD *)((char *)a2 + 1272); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, (EffectGameObject *)((char *)a2 + 1308)); v5 = 1.0; v6 = *((unsigned __int8 *)a2 + 1324); v7 = *((float *)a2 + 334); v8 = *((unsigned __int8 *)a2 + 1325); v9 = *((unsigned __int8 *)a2 + 1326); v10 = *((float *)a2 + 335); v11 = *((unsigned __int8 *)a2 + 1327); if ( *(float *)v4 > 1.0 ) v5 = *(float *)v4; if ( (unsigned int)((int)(float)(v15 / v5) + 999999) <= 0x1E847E && (!*((_BYTE *)a2 + 1324) && !*((_BYTE *)a2 + 1326) || fabsf(v7) <= 99999.0) && (!*((_BYTE *)a2 + 1325) && !*((_BYTE *)a2 + 1327) || fabsf(v10) <= 99999.0) ) { if ( *((_BYTE *)a2 + 1356) ) { if ( *((_BYTE *)a2 + 1328) || *((_BYTE *)a2 + 1345) ) { GJBaseGameLayer::triggerDynamicMoveCommand(this, a2); return; } } else if ( *((_BYTE *)a2 + 1328) ) { goto LABEL_16; } if ( !*((_BYTE *)a2 + 1345) ) { LABEL_20: if ( *((_BYTE *)a2 + 1357) ) { GJBaseGameLayer::moveObjectsSilent((GJEffectManager **)this, *((_DWORD *)a2 + 321), v15, v16); } else { v14 = v9; v13 = *((_DWORD *)this + 381); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)&v15); GJEffectManager::createMoveCommand( v13, v18, *((_DWORD *)a2 + 321), *v4, *((_DWORD *)a2 + 329), *((_DWORD *)a2 + 330), v6, v8, v14, v11, LODWORD(v7), LODWORD(v10), *((_DWORD *)a2 + 195), *((_DWORD *)a2 + 373)); } return; } LABEL_16: GJBaseGameLayer::getMoveTargetDelta( (GJBaseGameLayer *)v18, (cocos2d::CCDictionary **)this, (int)a2, *((unsigned __int8 *)this + 1435) ^ 1); cocos2d::CCPoint::operator=(&v15, v18); if ( *((_BYTE *)a2 + 1345) ) { cocos2d::ccpNormalize((cocos2d *)v17, (const cocos2d::CCPoint *)&v15); cocos2d::CCPoint::operator*(v18, v17, *((_DWORD *)a2 + 338)); cocos2d::CCPoint::operator=(&v15, v18); } v11 = *((unsigned __int8 *)a2 + 1328); if ( *((_BYTE *)a2 + 1328) ) { v12 = *((_DWORD *)a2 + 333); if ( v12 == 1 ) { v16 = 0.0; } else if ( v12 == 2 ) { v15 = 0.0; } v11 = 0; } v9 = v11; v8 = v11; v6 = v11; goto LABEL_20; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source