// // LevelOptionsLayer::didToggle from 0xb6110c to 0xb612d0 (452 bytes) // // 3 xrefs: // > @ 0x8ea80 // > @ 0x14c5510 // > @ 0x14c5d40 // // This function is hookable on this platform (idp: arm, 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 13:02:12 +0000 // __int64 __fastcall LevelOptionsLayer::didToggle(__int64 this, int a2) { __int64 v2; // x1 __int64 v3; // x1 __int64 v4; // x1 __int64 v5; // x1 __int64 v6; // x1 __int64 v7; // x1 __int64 v8; // x1 __int64 v9; // x1 __int64 v10; // x1 __int64 v11; // x1 __int64 v12; // x1 __int64 v13; // x1 __int64 v14; // x1 __int64 v15; // x1 __int64 v16; // x1 __int64 v17; // x1 __int64 v18; // x1 __int64 v19; // x1 __int64 v20; // x1 __int64 v21; // x1 __int64 v22; // x1 switch ( a2 ) { case 0: v22 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v22 + 336) ^ 1u; *(_BYTE *)(v22 + 336) ^= 1u; break; case 1: v21 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v21 + 337) ^ 1u; *(_BYTE *)(v21 + 337) ^= 1u; break; case 2: v20 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v20 + 340) ^ 1u; *(_BYTE *)(v20 + 340) ^= 1u; break; case 4: v19 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v19 + 338) ^ 1u; *(_BYTE *)(v19 + 338) ^= 1u; break; case 5: v18 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v18 + 369) ^ 1u; *(_BYTE *)(v18 + 369) ^= 1u; break; case 6: v17 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v17 + 339) ^ 1u; *(_BYTE *)(v17 + 339) ^= 1u; break; case 7: v16 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v16 + 370) ^ 1u; *(_BYTE *)(v16 + 370) ^= 1u; break; case 8: v15 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v15 + 448) ^ 1u; *(_BYTE *)(v15 + 448) ^= 1u; break; case 9: v14 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v14 + 449) ^ 1u; *(_BYTE *)(v14 + 449) ^= 1u; break; case 10: v13 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v13 + 450) ^ 1u; *(_BYTE *)(v13 + 450) ^= 1u; break; case 11: v12 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v12 + 451) ^ 1u; *(_BYTE *)(v12 + 451) ^= 1u; break; case 12: v11 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v11 + 452) ^ 1u; *(_BYTE *)(v11 + 452) ^= 1u; break; case 14: v10 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v10 + 453) ^ 1u; *(_BYTE *)(v10 + 453) ^= 1u; break; case 15: v9 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v9 + 454) ^ 1u; *(_BYTE *)(v9 + 454) ^= 1u; break; case 16: v8 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v8 + 455) ^ 1u; *(_BYTE *)(v8 + 455) ^= 1u; break; case 17: v7 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v7 + 456) ^ 1u; *(_BYTE *)(v7 + 456) ^= 1u; break; case 18: v6 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v6 + 459) ^ 1u; *(_BYTE *)(v6 + 459) ^= 1u; break; case 19: v5 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v5 + 460) ^ 1u; *(_BYTE *)(v5 + 460) ^= 1u; break; case 20: v4 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v4 + 430) ^ 1u; *(_BYTE *)(v4 + 430) ^= 1u; break; case 22: v3 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v3 + 461) ^ 1u; *(_BYTE *)(v3 + 461) ^= 1u; break; case 23: v2 = *(_QWORD *)(this + 1120); this = *(unsigned __int8 *)(v2 + 462) ^ 1u; *(_BYTE *)(v2 + 462) ^= 1u; break; default: return this; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source