// // GJBaseGameLayer::controlTriggersWithControlID from 0x5a1a80 to 0x5a1bd8 (344 bytes) // // 1 xrefs: // > TriggerControlGameObject::triggerObject @ 0x4e692c // // 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::controlTriggersWithControlID(GJBaseGameLayer *a1, int a2, int a3) { _DWORD *i; // r3 int *v7; // r4 int *j; // r2 int v9; // r1 int v10; // t1 int v11; // r2 GradientTriggerObject **v12; // r4 GradientTriggerObject **v13; // r6 int v14; // r2 int v15; // r4 int v16; // r1 int v17; // r2 int v18; // r3 GradientTriggerObject *v19; // r1 void *v20; // [sp+0h] [bp-14h] BYREF char *v21; // [sp+4h] [bp-10h] char *v22; // [sp+8h] [bp-Ch] GJEffectManager::controlActionsForControlID(*((_DWORD *)a1 + 381)); GJBaseGameLayer::controlAreaEffectWithID(a1, -1, a2, a3); GJBaseGameLayer::controlAdvancedFollowCommand((int)a1, 0, a2, a3); GJBaseGameLayer::controlEventLink(a1, -1, a2, a3); GJBaseGameLayer::controlDynamicMoveCommand((int)a1, 0, a2, a3); GJBaseGameLayer::controlDynamicRotateCommand((int)a1, 0, a2, a3); GJGameState::controlTweenAction((int)a1 + 328, -1, a2, a3); for ( i = *((_DWORD **)a1 + 621); i; i = (_DWORD *)*i ) { v7 = (int *)i[4]; for ( j = (int *)i[3]; j != v7; ++j ) { v10 = *j; v9 = v10; if ( *(_DWORD *)(v10 + 1492) == a2 ) *(_BYTE *)(v9 + 1692) = a3 != 2; } } v20 = nullptr; v11 = *((_DWORD *)a1 + 2676); v21 = nullptr; v22 = nullptr; if ( v11 ) { v14 = *(_DWORD *)(v11 + 52); if ( v14 ) v15 = *(_DWORD *)(v14 + 272); else v15 = 0; while ( v14 ) { v16 = *(_DWORD *)(v14 + 260); v17 = *(_DWORD *)(v16 + 476); if ( v17 && *(_DWORD *)(v17 + 1492) == a2 ) { if ( v21 == v22 ) { std::vector::__push_back_slow_path( (int)&v20, (_DWORD *)(v16 + 476)); } else { if ( v21 ) *(_DWORD *)v21 = v17; v21 += 4; } } if ( v15 ) v18 = *(_DWORD *)(v15 + 272); else v18 = 0; v14 = v15; v15 = v18; } } v12 = (GradientTriggerObject **)v20; v13 = (GradientTriggerObject **)v21; while ( v12 != v13 ) { v19 = *v12++; GJBaseGameLayer::controlGradientTrigger(a1, v19, a3); } if ( v20 ) { v21 -= 4 * ((unsigned int)(v21 - (_BYTE *)v20) >> 2); operator delete(v20); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source