// // GJBaseGameLayer::processOptionsTrigger from 0x14032b9d0 to 0x14032bbbb (491 bytes) // // 4 xrefs: // > EffectGameObject::triggerObject @ 0x140648e65 // > @ 0x1408b5f1c // > @ 0x1408b5f2c // > @ 0x14091f19c // // 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 11:30:29 +0000 // __int64 __fastcall GJBaseGameLayer::processOptionsTrigger(__int64 a1, __int64 a2) { int v2; // eax __int64 v3; // rdi bool v5; // si int v6; // eax int v7; // eax int v8; // eax int v9; // eax int v10; // eax int v11; // eax __int64 v12; // rcx int v13; // eax __int64 v14; // rcx int v15; // eax int v16; // eax int v17; // eax int v18; // eax __int64 result; // rax float v20; // xmm1_4 v2 = *(_DWORD *)(a2 + 1856); v3 = a2; if ( v2 ) { v5 = v2 == 1; if ( (v2 == 1) != *(_BYTE *)(a1 + 812) ) { *(_BYTE *)(a1 + 812) = v5; PlayerObject::updateStreakBlend(*(_QWORD *)(a1 + 3512), v5); PlayerObject::updateStreakBlend(*(_QWORD *)(a1 + 3520), v5); } } v6 = *(_DWORD *)(v3 + 1860); if ( v6 ) *(_BYTE *)(a1 + 2144) = v6 == 1; v7 = *(_DWORD *)(v3 + 1864); if ( v7 ) { LOBYTE(a2) = v7 != 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, a2); } v8 = *(_DWORD *)(v3 + 1884); if ( v8 ) { LOBYTE(a2) = v8 != 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1240LL))(a1, a2); } v9 = *(_DWORD *)(v3 + 1868); if ( v9 ) { LOBYTE(a2) = v9 != 1; PlayerObject::toggleVisibility(*(_QWORD *)(a1 + 3512), a2); } v10 = *(_DWORD *)(v3 + 1872); if ( v10 ) { LOBYTE(a2) = v10 != 1; if ( *(_BYTE *)(a1 + 1058) ) PlayerObject::toggleVisibility(*(_QWORD *)(a1 + 3520), a2); } v11 = *(_DWORD *)(v3 + 1876); if ( v11 ) { v12 = *(_QWORD *)(a1 + 3512); if ( v11 == 1 ) PlayerObject::disablePlayerControls(v12, a2); else PlayerObject::enablePlayerControls(v12, a2); } v13 = *(_DWORD *)(v3 + 1880); if ( v13 ) { v14 = *(_QWORD *)(a1 + 3520); if ( v13 == 1 ) PlayerObject::disablePlayerControls(v14, a2); else PlayerObject::enablePlayerControls(v14, a2); } v15 = *(_DWORD *)(v3 + 1888); if ( v15 ) { LOBYTE(a2) = v15 == 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1248LL))(a1, a2); } v16 = *(_DWORD *)(v3 + 1900); if ( v16 ) *(_BYTE *)(a1 + 1302) = v16 == 1; v17 = *(_DWORD *)(v3 + 1904); if ( v17 ) *(_BYTE *)(a1 + 1308) = v17 == 1; v18 = *(_DWORD *)(v3 + 1908); if ( v18 ) { *(_BYTE *)(*(_QWORD *)(a1 + 3512) + 2608LL) = v18 == 1; *(_BYTE *)(*(_QWORD *)(a1 + 3520) + 2608LL) = *(_DWORD *)(v3 + 1908) == 1; } result = *(unsigned int *)(v3 + 1892); if ( (_DWORD)result ) { v20 = 0.0; if ( (_DWORD)result == 1 ) v20 = fminf(10.0, fmaxf(1.0, *(float *)(v3 + 1896))); *(float *)(a1 + 1304) = v20; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source