// // GJBaseGameLayer::triggerRotateCommand from 0x5a2524 to 0x5a266a (326 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x4f4a82 // // 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::triggerRotateCommand(GJEffectManager **this, EnhancedTriggerObject *a2) { float *v4; // r7 float v5; // s16 int v6; // r8 int v7; // r9 int v8; // r10 GameObject *v9; // r11 GameObject *v10; // r0 GameObject *v11; // [sp+20h] [bp-1Ch] GameObject *Object; // [sp+24h] [bp-18h] int v13; // [sp+28h] [bp-14h] BYREF int v14; // [sp+2Ch] [bp-10h] BYREF int v15; // [sp+30h] [bp-Ch] BYREF v4 = (float *)((char *)a2 + 1272); v5 = *((float *)a2 + 341) + (float)((float)*((int *)a2 + 342) * 360.0); if ( !*((_BYTE *)a2 + 1356) || *v4 == 0.0 ) { if ( *((_BYTE *)a2 + 1328) ) goto LABEL_8; goto LABEL_5; } if ( !*((_BYTE *)a2 + 1328) && !*((_BYTE *)a2 + 1345) ) { LABEL_5: if ( !*((_BYTE *)a2 + 1345) ) { LABEL_10: GJEffectManager::createRotateCommand( *(this + 381), v5, *v4, *((_DWORD *)a2 + 321), *((_DWORD *)a2 + 322), *((_DWORD *)a2 + 329), *((float *)a2 + 330), *((_BYTE *)a2 + 1372), 0.0, *((_DWORD *)a2 + 195), *((_DWORD *)a2 + 373), (int)v11); return; } LABEL_8: GJBaseGameLayer::getRotateCommandTargets(this, (int)a2, &v14, &v15, &v13); v6 = v14; if ( v14 ) { v7 = v13; if ( v13 ) { v8 = v15; if ( v15 ) { Object = (GameObject *)GJBaseGameLayer::tryGetObject(this, *((_DWORD *)a2 + 412)); v11 = (GameObject *)GJBaseGameLayer::tryGetObject(this, *((_DWORD *)a2 + 413)); v9 = (GameObject *)GJBaseGameLayer::tryGetObject(this, *((_DWORD *)a2 + 414)); v10 = (GameObject *)GJBaseGameLayer::tryGetObject(this, *((_DWORD *)a2 + 415)); v5 = COERCE_FLOAT(getRotateCommandAngleDelta((int)a2, v6, v8, v7, Object, v11, v9, v10)); } } } goto LABEL_10; } GJBaseGameLayer::triggerDynamicRotateCommand((GJBaseGameLayer *)this, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source