// // GJBaseGameLayer::activatePlayerControlTrigger from 0x1001077d0 to 0x1001079e2 (530 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x10019a5ba // // This function is hookable on this platform (idp: pc, 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:21:32 +0000 // char __fastcall GJBaseGameLayer::activatePlayerControlTrigger(__int64 a1, _BYTE *a2, __int64 a3) { char v3; // r15 char v4; // r13 __int64 v5; // rcx unsigned __int8 v6; // r12 char result; // al char v8; // r15 char v9; // r15 char v10; // [rsp+0h] [rbp-2Ah] unsigned __int8 v11; // [rsp+1h] [rbp-29h] v3 = a2[1684]; v4 = a2[1685]; v5 = (unsigned __int8)a2[1840]; v6 = a2[1841]; v10 = a2[1842]; result = v3 | ~v4; if ( !(v3 & 1 | ((v4 & 1) == 0)) ) goto LABEL_12; v11 = a2[1840]; if ( (_BYTE)v5 ) { PlayerObject::releaseButton(*(_QWORD *)(a1 + 3256), 1); v5 = v11; result = v6 & *(_BYTE *)(a1 + 12238); if ( result != 1 ) { LABEL_4: v8 = v3 ^ 1; if ( !v10 ) goto LABEL_5; goto LABEL_10; } } else { result = v6 & *(_BYTE *)(a1 + 12238); if ( result != 1 ) goto LABEL_4; } PlayerObject::releaseButton(*(_QWORD *)(a1 + 3256), 5); PlayerObject::releaseButton(*(_QWORD *)(a1 + 3256), 2); result = PlayerObject::releaseButton(*(_QWORD *)(a1 + 3256), 3); v5 = v11; v8 = v3 ^ 1; if ( !v10 ) { LABEL_5: v9 = v4 | v8; if ( a2[1843] != 1 ) goto LABEL_6; goto LABEL_11; } LABEL_10: result = PlayerObject::stopRotation(*(_QWORD *)(a1 + 3256), 1, 0, v5); v5 = v11; v9 = v4 | v8; if ( a2[1843] == 1 ) { LABEL_11: result = PlayerObject::handlePlayerCommand(*(_QWORD *)(a1 + 3256), 543, a3, v5); v5 = v11; if ( (v9 & 1) == 0 ) return result; LABEL_12: if ( (_BYTE)v5 ) { result = PlayerObject::releaseButton(*(_QWORD *)(a1 + 3264), 1); if ( (*(_BYTE *)(a1 + 12238) & v6) != 1 ) { LABEL_14: if ( !v10 ) goto LABEL_15; goto LABEL_19; } } else if ( (*(_BYTE *)(a1 + 12238) & v6) != 1 ) { goto LABEL_14; } PlayerObject::releaseButton(*(_QWORD *)(a1 + 3264), 5); PlayerObject::releaseButton(*(_QWORD *)(a1 + 3264), 2); result = PlayerObject::releaseButton(*(_QWORD *)(a1 + 3264), 3); if ( !v10 ) { LABEL_15: if ( a2[1843] != 1 ) return result; return PlayerObject::handlePlayerCommand(*(_QWORD *)(a1 + 3264), 543, a3, v5); } LABEL_19: result = PlayerObject::stopRotation(*(_QWORD *)(a1 + 3264), 1, 0, v5); if ( a2[1843] != 1 ) return result; return PlayerObject::handlePlayerCommand(*(_QWORD *)(a1 + 3264), 543, a3, v5); } LABEL_6: if ( (v9 & 1) != 0 ) goto LABEL_12; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source